1231
This commit is contained in:
1 parent
088c48fabe
commit
e4aef57047
2 files changed
+2
-3
No files matched your search
@@ -51,8 +51,7 @@ server {
|
||||
# Hugo 预览代理(不需要认证)
|
||||
location /preview/ {
|
||||
auth_request off;
|
||||
rewrite ^/preview/(.*)$ /$1 break;
|
||||
proxy_pass http://write-server:1313;
|
||||
proxy_pass http://write-server:1313/preview/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user