Welcome! Log In Create A New Profile

Advanced

limit_except и proxy_pass

Slawa Olhovchenkov
September 14, 2024 04:10PM
А как лучше всео скрещивать limit_except и proxy_pass?
Ну вот то есть надо запетить, например, POST на /.
И как, если у нас дальше надо куда-то через proxy_pass прокинуть?

nginx: [emerg] "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block

try_files /dev/null @proxy; -- получается нельзя
внутри limit_except -- тоже нельзя
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

limit_except и proxy_pass

Slawa Olhovchenkov September 14, 2024 04:10PM

Re: limit_except и proxy_pass

Hennadii Makhomed September 14, 2024 05:52PM

Re: limit_except и proxy_pass

Slawa Olhovchenkov September 15, 2024 06:26AM

Re: limit_except и proxy_pass

Hennadii Makhomed September 15, 2024 10:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready