mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
Updated 使用Nginx做反向代理 (markdown)
@@ -29,7 +29,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
|
||||||
#此处配置 MinDoc 程序的地址和端口号
|
#此处配置 MinDoc 程序的地址和端口号
|
||||||
proxy_pass http://127.0.0.1:8181;
|
proxy_pass http://127.0.0.1:8181;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user