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
Hi,
I've got an docker-composer.yml with 2 services : 1 nginx on port 80 and 1 php-fpm on port 9000 on mydomain.com.
This is the code generated by docker-gen for mydomain.com and the port 80 is not defined (if i add it manually, that's work)
# mydomain.comupstreammydomain.com {
## Can be connected with "mydomaincom_default" network# mydomaincom_app_1server 172.31.0.4:9000;
# Cannot connect to network of this containerserver127.0.0.1 down; # Cannot connect to network of this container server 127.0.0.1 down;# Cannot connect to network of this containerserver127.0.0.1 down;
# Cannot connect to network of this containerserver127.0.0.1 down;
# Cannot connect to network of this containerserver127.0.0.1 down;
# Cannot connect to network of this containerserver127.0.0.1 down;
}
server {
# If we server_name mydomain.com; pass it through; otherwise, pass along the listen 80 ; access_log /var/log/nginx/access.log vhost;return301 https://$host$request_uri;
}
server {
server_name mydomain.com;
listen443 ssl http2 ;
access_log /var/log/nginx/access.log vhost;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RS ssl_prefer_server_ciphers on; ssl_session_timeout 5m; ssl_session_cache shared:SSL:50m; ssl_session_tickets off; ssl_certificate /etc/nginx/certs/mydomain.com.crt; ssl_certificate_key /etc/nginx/certs/mydomain.com.key; ssl_dhparam /etc/nginx/certs/mydomain.com.dhparam.pem; ssl_stapling on; ssl_stapling_verify on; ssl_trusted_certificate /etc/nginx/certs/mydomain.com.chain.pem; add_header Strict-Transport-Security "max-age=31536000" always; include /etc/nginx/vhost.d/default;# If we location / { proxy_pass http://mydomain.com; }}
and this is the inspect informations for my nginx service :
This repo should no longer handle issues or discussions related to nginx-proxy / the nginx-proxy template, unless there is something we need to change / fix in docker-gen in order to allow a change / fix in nginx-proxy.
Hi,
I've got an docker-composer.yml with 2 services : 1 nginx on port 80 and 1 php-fpm on port 9000 on mydomain.com.
This is the code generated by docker-gen for mydomain.com and the port 80 is not defined (if i add it manually, that's work)
and this is the inspect informations for my nginx service :
Can you help me to fix this problem ?
Thanks,
Nicolas
The text was updated successfully, but these errors were encountered: