fix snfsession regex

This commit is contained in:
AllinolCP
2021-11-09 10:22:16 +07:00
committed by GitHub
parent cd20ffd6e9
commit 0bbae1dc42

View File

@@ -88,8 +88,8 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ^/(.*)/web-service/snfgenerator/session$ {
proxy_pass http://dash:3000/session;
location ~ ^/(.*)/web-service/snfgenerator/session$ {
proxy_pass http://dash:3000/session$is_args$args;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;