Today i moved a high traffic WordPress web using from Apache + PHP 5 to Nginx … Moving from Apache PHP 5 to Nginx PHP 7Read more
Nginx
Nginx wildcard virtualhost
wildcard virtual host allow you to host multiple web sites with one configuration file. Here is … Nginx wildcard virtualhostRead more
Nginx Config for rtmp streaming
Here is nginx config used for RTMP streaming. user nginx; worker_processes 1; worker_rlimit_nofile 300000; events { … Nginx Config for rtmp streamingRead more
Disable Access to a folder in Nginx
To disable access to folder /admin in Nginx, add following to server block of your web … Disable Access to a folder in NginxRead more
Nginx CloudFlare restore real ip
When using Nginx Behind Cloudflare, logs and web applications show Cloudflare sever IP instead of visitor … Nginx CloudFlare restore real ipRead more
Nginx 413 Request Entity Too Large
On Nginx server, when uploading large file, i get error 413 Request Entity Too Large On … Nginx 413 Request Entity Too LargeRead more
Nginx Configuration for Video Streaming With Secure Link
here is nginx configuration i used for a video site that have secure link. server { … Nginx Configuration for Video Streaming With Secure LinkRead more
Enable Directory Listing in Nginx
To enable directory listing in Nginx, add following to server configuration. autoindex on; Example server { … Enable Directory Listing in NginxRead more
Nginx Disable Access log
On a high traffic web site, i want to disable access log as we are hitting … Nginx Disable Access logRead more
Nginx Rails Origin header didn’t match request.base_url
After installing SSL on Nginx server, rails application login page stopped working. On log file (log/production.log), … Nginx Rails Origin header didn’t match request.base_urlRead more