You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This image is designed to be used behind the reverse proxy that performs TLS termination, for the local environment, it's usually something like traefik, see docker4x projects for more examples https://wodby.com/docs/docker4x/
I cant figure out how to enable port 443.
This is my docker-compose file:
nginx:
image: wodby/nginx:$NGINX_TAG
container_name: "${PROJECT_NAME}_nginx"
depends_on:
- php
ports:
- "80:80"
- "443:443"
environment:
NGINX_STATIC_OPEN_FILE_CACHE: "off"
NGINX_ERROR_LOG_LEVEL: debug
NGINX_BACKEND_HOST: php
NGINX_VHOST_PRESET: wordpress
#NGINX_SERVER_ROOT: /var/www/html/subdir
volumes:
- $PWD/codebase:/var/www/html
- /etc/nginx
I checked the port , but it says its closed. (also not used by other services). I use nginx with wordpress.
The text was updated successfully, but these errors were encountered: