Top "Nginx-location" questions

Questions related to nginx location directive should use this tag.

NGINX: remove part of url permanantly

I have redesigned a website and changed the url formats too. Now i need to change the old url to …

nginx url-rewriting nginx-location
Nginx multiple locations with different roots

I have really simple nginx configuration with 3 locations inside. Each of them have it's own root directory + I should be …

nginx nginx-location
How to configure NGINX server which download any files in derectory

I am trying to configure NGINX server on Linux which downloads any files from the directory. But the problem I …

linux nginx centos nginx-location winginx
Guide on how to use regex in Nginx location block section?

Nginx regex location syntaxe Regex expressions can be used with Nginx location block section, this is implemented with the PCRE …

regex nginx regex-group nginx-location nginx-config
Nginx config for Yii 2 Advanced App Template

I would like to configure the Nginx web-server in such a way that: Requests to the /index.php URI should …

nginx yii2 nginx-location
How to Proxy Pass from / to /index.html

I'm currently working on a JS Project, that uses the url path. Now if I go on my website with …

nginx nginx-location nginx-reverse-proxy
open() "" failed (2: No such file or directory)

When I request a link http://abc.example.com/images/default-thumbnail.jpg a 404 error occurs while seeing the log file …

nginx nginx-location
nginx configuration with multiple location blocks

I'm trying to configure nginx to serve 2 different php scripts from 2 different location. The configuration is as follows. I have …

php nginx nginx-location
nginx location with and without trailing slash

I would like to create a location which catches both http://example.com and http://example.com/ and another location …

nginx nginx-location
How to configure nginx for a RESTful API?

I have a RESTful web service which exposes an interface such as : GET /api/v1/films/:id/thumb PUT /api/…

rest nginx asp.net-web-api nginx-location nginx-reverse-proxy