i cannot add ssl certificate to rasa x and i get this error message “Problem binding to port 80: Could not bind to IPv4 or IPv6.”
@sloka If your application is listening on port 80, then certbot can’t listen on that port, and therefore it can’t run or check the ports are in use or used by others application if you using docker or docker-compose etc.
i tried a gain and the error didn’t appear again, but it did n’t work yet @nik202
@nik202 do you recommend changing the port certbot is using or changing the port on the docker-compose ngnix service?
nginx:
restart: always
image: "nginx:1.19"
ports:
- "80:8080" #Change here?
- "443:8443"
volumes:
- ./certs:/etc/certs
- ./nginx-config-files/nginx.conf:/etc/nginx/nginx.conf
- ./nginx-config-files/ssl.conf.template:/etc/nginx/templates/ssl.conf.template
- ./nginx-config-files/rasax.nginx.template:/etc/nginx/templates/rasax.nginx.template
environment:
<<: *nginx-host-variables
depends_on:
- rasa-x
- rasa-production
- app