本帖最后由 堡塔运维香菜卷 于 2023-3-25 12:05 编辑
打开网页 域名/zhouzzl浏览器报错结果:
搞2天了。 正常把反代代码加进去也爆这错误。。是不是新版本问题? 或服务器配合什么问题
- #PROXY-START/zhouzzl
- location ^~ /zhouzzl
- {
- proxy_pass http://127.0.0.1:8443/zhouzzl/;
- proxy_set_header Host $host;
- 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;
- #Persistent connection related configuration
- add_header X-Cache $upstream_cache_status;
- #Set Nginx Cache
-
-
- set $static_fileJJwEFUT7 0;
- if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)[ DISCUZ_CODE_1 ]quot; )
- {
- set $static_fileJJwEFUT7 1;
- expires 12h;
- }
- if ( $static_fileJJwEFUT7 = 0 )
- {
- add_header Cache-Control no-cache;
- }
- }
- #PROXY-END/zhouzzl
复制代码
|
|