This commit is contained in:
parent
ad13ac8650
commit
2534882296
@ -52,10 +52,6 @@ http {
|
|||||||
server 127.0.0.1:8085;
|
server 127.0.0.1:8085;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream speed_test {
|
|
||||||
server 127.0.0.1:8087;
|
|
||||||
}
|
|
||||||
|
|
||||||
upstream frp_pve {
|
upstream frp_pve {
|
||||||
server 127.0.0.1:8088;
|
server 127.0.0.1:8088;
|
||||||
}
|
}
|
||||||
@ -420,22 +416,6 @@ http {
|
|||||||
location /resources {
|
location /resources {
|
||||||
root amass_blog;
|
root amass_blog;
|
||||||
}
|
}
|
||||||
location /speedtest {
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header x-wiz-real-ip $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://speed_test;
|
|
||||||
}
|
|
||||||
location /backend {
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header x-wiz-real-ip $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://speed_test;
|
|
||||||
}
|
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*)$ https://amass.fun$1 permanent;
|
rewrite ^(.*)$ https://amass.fun$1 permanent;
|
||||||
}
|
}
|
||||||
@ -447,22 +427,6 @@ http {
|
|||||||
location /resources {
|
location /resources {
|
||||||
root amass_blog;
|
root amass_blog;
|
||||||
}
|
}
|
||||||
location /speedtest {
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header x-wiz-real-ip $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://speed_test;
|
|
||||||
}
|
|
||||||
location /backend {
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header x-wiz-real-ip $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://speed_test;
|
|
||||||
}
|
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*)$ https://mirror.amass.fun$1 permanent;
|
rewrite ^(.*)$ https://mirror.amass.fun$1 permanent;
|
||||||
}
|
}
|
||||||
|
@ -91,24 +91,6 @@ location ~ /notify.*$ {
|
|||||||
proxy_pass http://local;
|
proxy_pass http://local;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /speedtest {
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header x-wiz-real-ip $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://speed_test;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /backend {
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header x-wiz-real-ip $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_pass http://speed_test;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /Younger/ChatRoom {
|
location /Younger/ChatRoom {
|
||||||
|
|
||||||
proxy_pass http://local;
|
proxy_pass http://local;
|
||||||
|
Loading…
Reference in New Issue
Block a user