如您所想,我刚刚开始使用 Docker 和 Caddy,但由于出现以下错误,我无法运行它:
Could not start HTTPS server for challenge -> listen tcp :443: bind: permission denied
这是 docker-compose.yml:
webserver:
image: jumanjiman/caddy
depends_on:
- parse-dashboard
- loovus
ports:
- "80:8000"
- "443:443"
links:
- parse-dashboard
- parse-server
volumes:
- ./production:/prod/
- ./dist/:/angular/
command: -port 8000 -host 0.0.0.0 -conf /prod/Caddyfile
这是球童文件:
qa.loovus.mx:8000
tls contacto@loovus.mx
gzip {
ext .js .css
}
root /angular
proxy /parse parse-server:1337
rewrite / {
if {path} not_match /parse
to {path} /index.html
}
如果您能给我任何提示,我将不胜感激。
先感谢您!