Sometimes you may need to serve static files in NGINX from different folder. Here are the steps to do it.
Nginx
How to Force NGINX to Serve New Static Filles
After you update static files on your site, you need to serve new files. Here is how to force NGINX to serve new static files.
NGINX: How to Fix Upstream Sent too big header Error
If you run NGINX proxy configuration, you may get “Upstream Set Too Big Header” error. Here is how to fix upstream sent too big header error.
How to Modify Response Header in NGINX
NGINX allows you to change response headers as per your requirement. Here are the steps to modify response header in NGINX.
NGINX Location Blocks Precedence
NGINX parses location blocks based on a priority order. Here is the location blocks precedence in NGINX.
How to Log POST data in NGINX
How to Setup Catch-All Subdomains in NGINX
Sometimes you may need to wildcard subdomains in NGINX. Here is how to setup catch-all subdomains in NGINX.
How to Change NGINX User
Sometimes you may need to change NGINX user for your website/application. Here is how to change NGINX user.
How to Enable HTTP Strict Transport Policy (HSTS) in NGINX
Http Strict Transport Policy protects your websites from man-in-the-middle attacks. Here is how to enable HTTP strict transport policy (HSTS) in NGINX.
How to Check What User NGINX is Running As
Sometimes you may need to find out which user NGINX is running as. Here is how to check which user NGINX is running as.