This commit is contained in:
Vaica committed 2026-06-22 13:30:55 +08:00
1 parent f172e6c15b
commit ad47a6dddd
2 files changed
+19 -1

No files matched your search

@@ -0,0 +1,18 @@
# Hugo 预览 HTTPS 代理
server {
listen 1313 ssl http2;
server_name post.usj.cc;
ssl_certificate /etc/nginx/ssl/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
access_log off;
location / {
proxy_pass http://write-server:1313;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}