HTTPS external URL remapped to port 80
Hello,
When trying to get access to my HTTPS url (https://ged.mydomain.com), I'm redirected to https://ged.mydomain.com:80/nuxeo/ui/ ending with an error “ERR_SSL_PROTOCOL_ERROR”.
Nuxeo is running inside a docker container (mapping 58080:8080) and accessing the platform locally with the http address and port 58080 runs perfectly.
I use nginx as reverse-proxy server (I'm totally noob in proxy configuration). The configuration file is the following :
server { listen 443 ssl; listen [::]:443 ssl;
server_name ged.mydomain.com;
ssl_certificate /usr/syno/etc/certificate/ReverseProxy/…/fullchain.pem;
ssl_certificate_key /usr/syno/etc/certificate/ReverseProxy/…/privkey.pem;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_intercept_errors on;
proxy_http_version 1.1;
proxy_pass http://localhost:58080;
} }
Do I need to change something at the nginx configuration or is it something that I can change in the Nuxeo parameters?
Thanks in advance for any help.
Regards,
Frédéric
Virtual hosting configuration is described at https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/