Can I do fragment caching with NGINX fastcgi?
Can I do fragment caching with NGINX fastcgi?
Can I do fragment caching with NGINX fastcgi?
WordPress + Nginx (Lightsail) problem with ajax
504 Gateway Time-out nginx/1.14.0 (Ubuntu)
Do I need a DNS on a home network?
Last-Modified header is removed from server response!
It isn’t working because Nginx tries to serve the permalink as a static file. At the moment the current configuration doesn’t allow HTML files to be passed to Apache. Please remove the “html” part from the following block so that the permalinks are passed to Apache… location ~* .(gif|jpg|jpeg|png|wmv|avi|mpg|mpeg|mp4|htm|html|js|css)$ { root /home/justflic/public_html; } Once you … Read more
Check the mime.types file in Nginx’s config directory (if you’re on Linux this is typically /etc/nginx/). If there’s no MIME type file, check to see whether MIME types are declared inside nginx.conf. If not, you may need to create a mime.types file and include it in nginx.conf. Here’s the information on the Nginx wiki about … Read more
The best way to accomplish this is using three server blocks: one to redirect http to https, one to redirect the https www-name to no-www, and one to actually handle requests. The reason for using extra server blocks instead of ifs is that server selection is performed using a hash table, and is very fast. … Read more
Direct quote from Pitfalls and Common Mistakes: Taxing Rewrites: By using the return directive we can completely avoid evaluation of regular expression. Please use return instead of rewrite for permanent redirects. Here’s my approach to this use-case… location = /content/unique-page-name { return 301 /new-name/unique-page-name; }
The difference between mainline and stable is explained here: NGINX 1.6 and 1.7 Released A graphical summary: Among other differences: Note that stable does not mean more reliable or more bug-free. In fact, the mainline is generally regarded as more reliable because we port all bug fixes to it, and not just critical fixes as … Read more