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), found following error HTTP Origin header…
After installing SSL on Nginx server, rails application login page stopped working. On log file (log/production.log), found following error HTTP Origin header…
Docker Nginx Proxy allow you to run multiple docker containers on same server behind nginx proxy. This is done using https://github.com/jwilder/nginx-proxy To…
On a high traffic web site, i want to disable access log as we are hitting I/O Limit. Since we don’t use…
To enable directory listing in Nginx, add following to server configuration. autoindex on; Example server { listen 80 default_server; listen [::]:80 default_server;…
On Nginx server, when uploading large file, i get error On nginx error log To fix, edit nginx config for the web…
When using Nginx Behind Cloudflare, logs and web applications show Cloudflare sever IP instead of visitor IP. To fix this, edit Inside…
To disable access to folder /admin in Nginx, add following to server block of your web site. location /admin { deny all;…
When using Nginx as a reverse proxy, you may need to handle SSL verification requests. Passing this request to the backend server…
wildcard virtual host allow you to host multiple web sites with one configuration file. Here is what i use for bizhat.com free…
Today i moved a high traffic WordPress web using from Apache + PHP 5 to Nginx + PHP 7.2. Here is a…
Here is Nginx configuration for aMember script location ~* ^/amember/.*\.(js|ico|gif|jpg|png|css|swf|csv)$ {} location ~* ^/amember/setup/index.php$ { try_files not-existing-file @php; } location ~* ^/amember/js.php…
Nginx is a powerful open source web server that is known for its high performance, stability, and flexibility. It is used by…