To list modules compiled with nginx, you can run nginx -V nginx -V This print nginx … List installed Modules in NginxRead more
Nginx
Enable CORS in Nginx
To enable CORS in nginx, add following inside web sites sevrer config. add_header ‘Access-Control-Allow-Origin’ ‘*’; add_header … Enable CORS in NginxRead more
LetsEncrypt SSL On Nginx Password Protected site
When you develop a web site, you will need it password protected so others won’t see … LetsEncrypt SSL On Nginx Password Protected siteRead more
Install Nginx Proxy Manager
Nginx Proxy Manager is Docker based GUI for managing Nginx reverse proxy. It support LetsEncrypt free … Install Nginx Proxy ManagerRead more
Install Nginx from source
Install Requirements CentOS/RHEL/Fedora yum install glib2-devel openssl-devel pcre-devel bzip2-devel gzip-devel Ubuntu/Debian apt-get install libpcre3-dev Create nginx … Install Nginx from sourceRead more
Nginx Commands
Start Nginx nginx Stop Nginx nginx -s stop Reload Nginx nginx -s reload Test Nginx configuration … Nginx CommandsRead more
Country Blocking with nginx GeoIP on Ubuntu/Debian
On Ubuntu/Debian, install nginx geoip module with apt install geoip-database libgeoip1 libnginx-mod-http-geoip -y Now edit nginx.conf … Country Blocking with nginx GeoIP on Ubuntu/DebianRead more
Nginx upstream sent too big header
When I log in to a PrestaShop website, I get an error on a Plesk server. … Nginx upstream sent too big headerRead more
Enable Nginx Status Page
Nginx status is provided by http_stub_status module. To verify if your Nginx is installed with this … Enable Nginx Status PageRead more
How to block .git directory in nginx
When using git version control to deploy application, many forget to secure .git folder. This allows … How to block .git directory in nginxRead more