🐳 修改 docker 配置.

This commit is contained in:
lijiahangmax
2025-03-23 22:05:59 +08:00
parent 2ef1517338
commit 3359d163fb
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
FROM nginx:alpine
USER root
# 系统时区
ARG TZ=Asia/Shanghai
# 添加包

View File

@@ -19,7 +19,7 @@ server {
root /usr/share/nginx/html;
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
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;
# web history 模式 404