反代alist 参数应该怎么设置?nginx
试了好几个,返回空白页面。 找我整caddy反代。 xxx.xxx.xxx.xxx是你的alist地址3721是你的alist端口
kkk.xxx.xxx.xxx;是你绑定得域名
server { listen 80; server_name kkk.xxx.xxx.xxx; location / { if ($host != 'kkk.xxx.xxx.xxx') { return 301 https://wget.at; } proxy_pass http://xxx.xxx.xxx.xxx:3721; proxy_set_header Host xxx.xxx.xxx.xxx; proxy_ssl_server_name on; proxy_ssl_name xxx.xxx.xxx.xxx; gzip_proxied any; proxy_set_header Referer $http_referer; proxy_set_header User-Agent $http_user_agent; proxy_redirect off; 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; proxy_ignore_headers Set-Cookie Cache-Control expires; }} 301跳到里去了 alist文档有反带配置
页:
[1]