mirror of
https://github.com/stilleshan/dockerfiles.git
synced 2025-09-26 21:01:15 +08:00
fix sub nginx conf
This commit is contained in:
@@ -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
|
||||
cat >> /etc/nginx/conf.d/default.conf <<EOF
|
||||
location /sub {
|
||||
location ~* /(sub|render|getruleset|surge2clash|getprofile) {
|
||||
proxy_redirect off;
|
||||
proxy_pass http://127.0.0.1:25500;
|
||||
}
|
||||
|
Reference in New Issue
Block a user