Nginx Web Server

Install Nginx from source

Install Requirements CentOS/RHEL/Fedora Ubuntu/Debian Create nginx user Downoad and insta Nginx You can download latest version of Nginx source code

Nginx Proxy Manager

Install Nginx Proxy Manager

Nginx Proxy Manager is Docker based GUI for managing Nginx reverse proxy. It support LetsEncrypt free SSL. https://nginxproxymanager.com Nginx Proxy

LetsEncrypt SSL On Nginx Password Protected site

LetsEncrypt SSL On Nginx Password Protected site

When you develop a web site, you will need it password protected so others won’t see or you don’t want

Enable CORS in Nginx

Enable CORS in Nginx

To enable CORS in nginx, add following inside web sites sevrer config. Restart nginx See CORS

List installed Modules in Nginx

List installed Modules in Nginx

To list modules compiled with nginx, you can run nginx -V This print nginx version along with configuration used to

Nginx remove html from url

Nginx remove html from url

If you have a static website build using plain html files, your url will look like https://yourdomain/page.html. This .html extension

Nginx show full url in access log

Nginx show full url in access log

To show the full URL in nginx access log, add the following If you are behind reverse proxy, replace $remote_addr

logrotate nginx log by date

logrotate nginx log by date

Logrotate by default rotate logs with numbers like following You can configure how many logs to keep and how to

CentovaCast Enable SSL for shoutcast

CentovaCast Enable SSL for shoutcast

To enable SSL for stream, you can use nginx reverse proxy. In this case, i have a stream available on

Auto Start Nginx on Windows

Auto Start Nginx on Windows

To auto start Nginx on Windows, download http://nssm.cc/download Extract the file, you will find “nssm.exe” file for 32 and 64

Nginx Web Server

Nginx HTTP 414 request-URI too large

On a Nginx server, when accessing a long url, i get error To fix the error, edit inside “http” section,

iredmail increase mail attachment size

iredmail increase mail attachment size

Default mail attachment size in iredmail is 10 MB. To increase mail attachment size, login to server as user root,