Top "Nginx" questions

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

Configuring nginx to return a 404 when a URL matches a pattern

I want nginx to return a 404 code when it receives a request which matches a pattern, e.g., /test/*. How …

nginx webserver
Nginx variables similar to SetEnv in Apache?

I use SetEnv in Apache to set some variables in virtualhosts that I recover in PHP using $_SERVER[the_variable]. …

apache perl nginx catalyst
How do I force redirect all 404's (or every page, whether invalid or not) to the homepage?

Currently every invalid page is 500 (Internal Server Error) because I probably messed up with my server block configuration. I decided …

redirect nginx http-status-code-404
Redirecting EC2 Elastic Load Balancer from HTTP to HTTPS

I want to redirect all the HTTP request to https request on ELB. I have two EC2 instances. I am …

redirect nginx amazon-ec2 https amazon-elb
Access denied (403) for PHP files with Nginx + PHP-FPM

I have been spending few hours on that issue and despite the high number of posts related to it, I …

nginx permissions fedora php http-status-code-403
nginx proxy all traffic to remote nginx

I have 2 servers, with IP xx.xx.xx.xx, situated in Germany ... (running frontend: nginx(static content), backend: Apache2) with …

proxy nginx traffic
nginx location 404 not found

Here are my nginx configure files. On the default.conf, the first location is used to access /usr/share/nginx/…

nginx location http-status-code-404 nginx-location nginx-config
nginx - two subdomain configuration

I'm new to Nginx and I'm trying to get subdomains working. What I would like to do is take my …

nginx subdomain
How to write a url rewrite in nginx?

I want people type in http://www.myweb.com/like/1234456 will redirect to http://www.myweb.com/item.php?itemid=1234456 …

url-rewriting nginx
Nginx serve static file and got 403 forbidden

Just want to help somebody out. yes ,you just want to serve static file using nginx, and you got everything …

nginx uwsgi