- #PROXY-START/
- location ^~ / {
- proxy_pass https://www点’V2’点com;
- proxy_set_header Host www点’V2’点com;
- proxy_set_header Referer https://www点’V2’点com;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header REMOTE-HOST $remote_addr;
-
- add_header X-Cache $upstream_cache_status;
-
- #Set Nginx Cache
-
- proxy_set_header Accept-Encoding "";
- sub_filter_types *;
- sub_filter "’V2’点com" "’V2’点cn";
- sub_filter_once off;
- add_header Cache-Control no-cache;
- }
-
- #PROXY-END/
复制代码
这个配置也不行啊 求助大佬 |