fix sub nginx conf
This commit is contained in:
parent
548add3f8c
commit
eead6892c3
|
@ -21,7 +21,7 @@ sed -i '$d' /etc/nginx/conf.d/default.conf
|
||||||
sed -i '$d' /etc/nginx/conf.d/default.conf
|
sed -i '$d' /etc/nginx/conf.d/default.conf
|
||||||
sed -i '$d' /etc/nginx/conf.d/default.conf
|
sed -i '$d' /etc/nginx/conf.d/default.conf
|
||||||
cat >> /etc/nginx/conf.d/default.conf <<EOF
|
cat >> /etc/nginx/conf.d/default.conf <<EOF
|
||||||
location /sub {
|
location ~* /(sub|render|getruleset|surge2clash|getprofile) {
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_pass http://127.0.0.1:25500;
|
proxy_pass http://127.0.0.1:25500;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue