Install certificate ssl to acs-community-ngnix

cancel
Showing results for 
Search instead for 
Did you mean: 
brugo
Active Member

Install certificate ssl to acs-community-ngnix

Good morning, I installed via docker-compose.yml alfresco with ngnix.
Now I would like to install the certificate and redirect to https alfresco .

The configuration of yml for ngnix is as follows

image: alfresco / acs-community-ngnix: 1.0.0
mem_limit: 128m
depends_on:
- alfresco
ports:
- 8080: 8080
links:
- alfresco
- share


Someone has already solved it?

Thanks

2 Replies
angelborroy
Alfresco Employee

Re: Install certificate ssl to acs-community-ngnix

I've updated GitHub - Alfresco/alfresco-docker-installer: Generator to build Docker Compose templates to deploy A...  to support HTTPs. You can generate the project with this tool to check required parameters.

Hyland Developer Evangelist
nicospor
Active Member

Re: Install certificate ssl to acs-community-ngnix

Hi, I'm using this generator: https://github.com/Alfresco/alfresco-docker-installer to deploy an Alfresco instance in production, using HTTPs.

I've generated self-signed certificates as a test for the domain I'm using (let's call it 'mydomain.com'), and copied them in the config folder for nginx (config/cert), and updated the nginx config file.

In the 'docker-compose.yml' file I've changed all occurrences of 'localhost' with 'mydomain.com', then I rebuilt with docker-compose, forcing recreate.

However, when I try to connect to https://mydomain.com/share, it keeps redirecting to localhost/share.

Is there another config file to edit that I'm missing?

Thanks.