docker安装后,如何设置nginx反代?
wimdaw opened this issue · 8 comments
wimdaw commented
RT,需要一个反代配置规则
csznet commented
直接反代端口即可
server {
listen 80;
server_name csz.net;
location / {
proxy_pass http://127.0.0.1:8088;
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;
}
}
wimdaw commented
docker安装的重启了会自动退出?
wimdaw commented
wimdaw commented
csznet commented
docker安装的重启了会自动退出?
添加--restart always参数可以开机自启
wimdaw commented
用网盘模式上传超过10M以上的文件下载会失败,无法下载,到10M就会下载失败
wimdaw commented
能否加个上传进度条,网盘模式传大文件不知道传了多少
csznet commented
能否加个上传进度条,网盘模式传大文件不知道传了多少
已经增加进度条功能