Update nginx.conf
Browse files- nginx.conf +1 -3
nginx.conf
CHANGED
@@ -3,13 +3,11 @@ server {
|
|
3 |
|
4 |
server_name _;
|
5 |
|
6 |
-
rewrite ^/hw(.*) https://shed219-nginx.hf.space/ulhw
|
7 |
|
8 |
location / {
|
9 |
proxy_pass https://cloudphoneh5.buy.139.com/;
|
10 |
proxy_set_header referer https://cloudphoneh5.buy.139.com/;
|
11 |
-
proxy_set_header Origin https://cloudphoneh5.buy.139.com;
|
12 |
-
proxy_set_header :authority: cloudphoneh5.buy.139.com;
|
13 |
add_header X-Frame-Options SAMEORIGIN always;
|
14 |
proxy_set_header Host cloudphoneh5.buy.139.com;
|
15 |
proxy_set_header X-Real-IP $remote_addr;
|
|
|
3 |
|
4 |
server_name _;
|
5 |
|
6 |
+
rewrite ^/hw(.*) https://shed219-nginx.hf.space/ulhw$1 permanent;
|
7 |
|
8 |
location / {
|
9 |
proxy_pass https://cloudphoneh5.buy.139.com/;
|
10 |
proxy_set_header referer https://cloudphoneh5.buy.139.com/;
|
|
|
|
|
11 |
add_header X-Frame-Options SAMEORIGIN always;
|
12 |
proxy_set_header Host cloudphoneh5.buy.139.com;
|
13 |
proxy_set_header X-Real-IP $remote_addr;
|