remove speedtest.
All checks were successful
Deploy / Build (push) Successful in 5m41s

This commit is contained in:
amass 2025-01-08 23:58:52 +08:00
parent ad13ac8650
commit 2534882296
2 changed files with 0 additions and 54 deletions

View File

@ -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;
} }

View File

@ -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;