更新 Docker 镜像配置,清理 archive 文件
- 删除 archive/bbs-go 等历史代码 - 新增 nginx、frpc-client Docker 镜像配置 - 添加 .gitignore 忽略大文件
This commit is contained in:
17
nginx/conf.d/image.conf
Normal file
17
nginx/conf.d/image.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name image.membank.xyz;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.14:3004;
|
||||
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_connect_timeout 60s;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user