How to change port number in WEBUI?

In WEBUI the port number 80 is automatically added but we use a SSL secure connection. So non of our documents as accessible via WEBUI. Where can we change it?

https://yourhost:80/nuxeo/site/api/v1/repo/default/id/20f5b38b-da99-427d-af96-200f822e8f63/@preview/

0 votes

2 answers

3311 views

ANSWER



Hi,

I'm facing the same issue when trying to get access to my HTTPS url (ged.mydomain.com), I'm redirected to https://ged.mydomain.com:80/nuxeo/ui/

I'm using a docker container (mapping 58080:8080) on a Synology NAS. Synology use nginx as default reverse-proxy server. 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 on the nginx side (hoppefully not since tweaking the Synology nginx is not that easy) or is it something that I can change in the Nuxeo parameters?

Thanks in advance for any help/

Frédéric

0 votes



What is your setup? Are you using Apache httpd as reverse proxy in the front or Tomcat/JBoss only?

I have Nuxeo running inside a Docker container, where Tomcat runs on port 8080 and the container port exposed to the host machine is 32769, but accessing it via my host machine on port 80 where I have it configured as reverse proxy. I can access the web UI without problems. Need to know your environment configuration.

This is my rewrite configuration: http://pastebin.com/6fFqq04b in Apache.

Did you follow this https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/ ?

0 votes