v1.1.0: Alpine 轻量级 Docker 开发环境 + 敏感凭证清理
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# WorkPod Web 终端 - wk.1216.top
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name wk.1216.top;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name wk.1216.top;
|
||||
|
||||
ssl_certificate /etc/nginx/sslkey/_.1216.top.pem;
|
||||
ssl_certificate_key /etc/nginx/sslkey/_.1216.top.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:7683;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_read_timeout 86400;
|
||||
proxy_buffering off;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user