IQSS / dataverse-docker

Dataverse 6.2 on Docker with integrated services called "Archive in a box" and could be used both as demo and production system and easily integrated with other services.
57 stars 45 forks source link

Getting 404 on the main page when using docker-compose-ssl.yml #79

Open TanayKarve opened 1 year ago

TanayKarve commented 1 year ago

Using the .env_sample file, but with the following changes: hostname=dataverse.mydomain.com:8080 traefikhost=dataverse.mydomain.com:8080

and the docker-compose-ssl.yml from distros/

I get the message "404 page not found" on https://dataverse.mydomain.com/

Am I missing something? Thanks.

kevincoakley commented 1 year ago

Since your domain doesn't start with www. you have to modify:

https://github.com/IQSS/dataverse-docker/blob/8319b3d28d92ee20299e6c6d62900516554c2ef5/docker-compose.yml#L205

and remove the www. before ${traefikhost}.