While going through the documentation here https://www.nginx.com/blog/inside-nginx-how-we-designed-for-performance-scale/ I found that Nginx loads "cache helper processes" if caching is enabled. Does this happen only in Nginx Plus, or also happens when one uses simple directives like expire, etc. I tried using expire but I can't see the loaders... root 29673 13588 0 20:14 pby imRahulSoni - How to...
This is my directory structure... html |-- 50x.html |-- app1 | `-- index.html |-- app2 | |-- home.html | `-- index.html |-- common | |-- app.js | `-- index.html `-- index.html And this is the configuration... server { listen 80; server_name 127.0.0.1 localhost; root /etc/nginx/html; location /app1/ { index index.html; } location ~* /app2/ { indby imRahulSoni - How to...
Thanks bunch. I tried what you suggested and part of it worked! Really appreciate your help.by imRahulSoni - How to...
This is how my configuration looks like... server { listen 80; server_name 127.0.0.1 localhost; location = / { index index.html; } location / { root /etc/nginx/html/app1; } } In my folder app1 I have two files, index.html & home.html If I browse http://localhost/ or http://localhost/index.htby imRahulSoni - How to...
My configuration looks like this... server { listen 80; server_name 127.0.0.1 localhost; location = /index.html { root /etc/nginx/html/app1; index index.html; } location / { root /etc/nginx/html/app1; index index.html; } location ^~ /common/ { root /etc/nginx/html/common; } } As youby imRahulSoni - How to...