我取消了caddy,应该是内部nginx的代理80端口。
.env中
SEAFILE_SERVER_HOSTNAME=seafile.example.com:8888
SEAFILE_SERVER_PROTOCOL=https
seafile-server.yml中
seafile:
image: ${SEAFILE_IMAGE:-seafileltd/seafile-mc:12.0-latest}
container_name: seafile
ports:
- “9008:80”
在seafile配置文件conf/seahub_settings.py中
SERVICE_URL = “https://seafile.example.com:8888”
FILE_SERVER_ROOT = ‘https://seafile.example.com:8888/seafhttp’
Lucky中反代设置的是前端https://seafile.example.com:8888对应后端http://192.168.3.8:9008
注:所有seafile.example.com对应我自己真实的域名
这样使用内网比如http://192.168.3.8:9008访问,可以正常访问,并且上传下载都正常,但是使用https://seafile.example.com:8888就提示:对不起,访问的页面不存在。
请问我该如何修改设置才可以使用域名正常访问。
谢谢各位!