-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Hello.
I used the alfresco-docker-installer template to install Alfresco on a VM in Oracle Cloud under http protocol and port 8080.
We also installed an NGINX on the same server to route all calls and convert them to HTTPS with our own certificate. However, I can't route the content-app because when I add the location in NGINX and inform that the call is "/", it redirects to the Share url.
How can I add a friendly name "workspace" in docker-compose and in alfresco's nginx.conf so that I can successfully add the content-app location in the external NGINX?
This is part of docker-compose.yml that configure o content-app
content-app:
restart: always
image: alfresco/alfresco-content-app:${ACA_TAG}
mem_limit: 256m
environment:
APP_BASE_SHARE_URL: "http://${SERVER_NAME}:8080/#/preview/s"
depends_on:
alfresco:
condition: service_healthy
This is part of my .conf in Nginx:
location /content-app {
proxy_pass http://localhost:8080/#/preview/s;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Port $server_port;
proxy_buffering off;
client_max_body_size 0;
}
Regards
Marco Gianini