Update nginx.conf
Browse files- nginx.conf +3 -0
nginx.conf
CHANGED
@@ -6,6 +6,9 @@ server {
|
|
6 |
location ^~ /
|
7 |
{
|
8 |
proxy_pass https://cloudphoneh5.buy.139.com/;
|
|
|
|
|
|
|
9 |
proxy_set_header Host cloudphoneh5.buy.139.com;
|
10 |
proxy_set_header X-Real-IP $remote_addr;
|
11 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
6 |
location ^~ /
|
7 |
{
|
8 |
proxy_pass https://cloudphoneh5.buy.139.com/;
|
9 |
+
proxy_set_header referer https://cloudphoneh5.buy.139.com/;
|
10 |
+
proxy_hide_header X-Frame-Options;
|
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;
|
14 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|