Nginx Commands
Start Nginx nginx Stop Nginx nginx -s stop Reload Nginx nginx -s reload Test Nginx configuration nginx -t See Nginx
Start Nginx nginx Stop Nginx nginx -s stop Reload Nginx nginx -s reload Test Nginx configuration nginx -t See Nginx
Install Requirements CentOS/RHEL/Fedora Ubuntu/Debian Create nginx user Downoad and insta Nginx You can download latest version of Nginx source code from https://nginx.org/en/download.html…
Nginx Proxy Manager is Docker based GUI for managing Nginx reverse proxy. It support LetsEncrypt free SSL. https://nginxproxymanager.com Nginx Proxy Manager Certificate…
When you develop a web site, you will need it password protected so others won’t see or you don’t want google to…
To enable CORS in nginx, add the following inside web sites server config. Restart nginx See CORS
To list modules compiled with nginx, you can run nginx -V nginx -V This print nginx version along with configuration used to…
If you have a static website build using plain html files, your url will look like https://yourdomain/page.html. This .html extension is useful…
To show the full URL in the nginx access log, add the following If you are behind a reverse proxy, replace $remote_addr…
Logrotate by default rotate logs with numbers like following You can configure how many logs to keep and how to rotate lots…
To enable SSL for stream, you can use nginx reverse proxy. In this case, i have a stream available on http://my-domain.com:8000/index.html?sid=1 I…
To auto start Nginx on Windows, download http://nssm.cc/download Extract the file, you will find “nssm.exe” file for 32 and 64 bit windows.…
On a Nginx server, when accessing a long url, i get error HTTP 414 Request-URI Too Large To fix the error, edit…