Top "Nginx" questions

Nginx ("engine x") is a web server, reverse proxy, TCP stream proxy and mail proxy, released under a BSD-like license.

Tuning nginx worker_process to obtain 100k hits per min

We have a server that is serving one html file. Right now the server has 2 CPUs and 2GB of ram. …

nginx
How to preserve request url with nginx proxy_pass

I was trying to use Thin app server and had one issue. When nginx proxies the request to Thin (or …

ruby proxy nginx thin unicorn
413 Request Entity Too Large - File Upload Issue

I am trying to upload 30MB file on my server and its not working. When I upload 30MB file, the …

php nginx apache2
Docker Networking - nginx: [emerg] host not found in upstream

I have recently started migrating to Docker 1.9 and Docker-Compose 1.5's networking features to replace using links. So far with links …

nginx docker docker-compose docker-networking
Using variables in Nginx location rules

In Nginx, I'm trying to define a variable which allows me to configure a sub-folder for all my location blocks. …

variables nginx webserver
How to serve all existing static files directly with NGINX, but proxy the rest to a backend server.

location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_…

nginx reverse-proxy static-files
How can I have same rule for two locations in NGINX config?

How can I have same rule for two locations in NGINX config? I have tried the following server { location /first/…

nginx nginx-location
Nginx: Permission denied for nginx on Ubuntu

I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output: [alert] could …

ubuntu nginx debian vagrant puppet
Nginx - Customizing 404 page

Nginx+PHP (on fastCGI) works great for me. When I enter a path to a PHP file which doesn't exist, …

php nginx http-status-code-404
correct configuration for nginx to localhost?

I just installed nginx and php fastcgi about an hour ago, and after reading examples of a quick starting configuration, …

configuration nginx localhost