跳转到帖子
location / {
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:; (或者用IP+端口号代替)
proxy_set_header X-Forwarded-Proto https;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}

0篇意见

推荐意见

没有意见。

游客
添加意见…