Fix rewrite rule in nginx.conf for /lawfirm/demo3 location.
This commit is contained in:
@@ -98,7 +98,7 @@ http {
|
|||||||
location /lawfirm/demo3/ {
|
location /lawfirm/demo3/ {
|
||||||
access_by_lua_file /usr/local/openresty/nginx/conf/auth.lua;
|
access_by_lua_file /usr/local/openresty/nginx/conf/auth.lua;
|
||||||
|
|
||||||
rewrite ^/lawfirm/demo2(/.*)$ $1 break;
|
rewrite ^/lawfirm/demo3(/.*)$ $1 break;
|
||||||
proxy_pass http://tld1:3000;
|
proxy_pass http://tld1:3000;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|||||||
Reference in New Issue
Block a user