Welcome! Log In Create A New Profile

Advanced

Re: location + proxy pass = 404

June 17, 2020 06:44AM
Ещё вариант, можно через rewrite придти к нужному url.
Но голый конфиг вида server { listen; location /asd/ { proxy_pass; } } работать не будет, у вас нет условия для ‘/‘, т.е. запросы неподходящие под заданный location будут выдавать ошибку.

> 17 июня 2020 г., в 13:35, emejibka <nginx-forum@forum.nginx.org> написал(а):
>
> В том то и дело что другие location в конфиге отсутствуют.
> Как объяснить работающий конфиг на старой версии nginx?
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?21,288370,288372#msg-288372
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Re: location + proxy pass = 404

imsystem June 17, 2020 03:32AM

Re: location + proxy pass = 404

emejibka June 17, 2020 06:35AM

Re: location + proxy pass = 404

imsystem June 17, 2020 06:44AM

Re: location + proxy pass = 404

Илья Шипицин June 17, 2020 08:34AM

Re: location + proxy pass = 404

Evgeniy Berdnikov June 17, 2020 08:28AM

Re: location + proxy pass = 404

Илья Шипицин June 17, 2020 08:32AM

Re: location + proxy pass = 404

emejibka June 17, 2020 12:53PM

Re: location + proxy pass = 404

Илья Шипицин June 17, 2020 01:04PM

Re: location + proxy pass = 404

emejibka June 19, 2020 02:37AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready