cozy / cozy-stack-compose

Docker-compose for cozy-stack
GNU Affero General Public License v3.0
8 stars 3 forks source link

I have a problem with the tls demand and the reverse proxy #3

Open Siagutrop opened 8 months ago

Siagutrop commented 8 months ago

Hey i try to install cozy on my own docker server but i still have the same probleme the link myinstance.domain.exemple dosn't work i can't trigger the reverse proxy with this link the log just do nothing but if i go to le local ip adress of cozy and try to go i have an issue with the tls demand can you help me ?

thnaks a lots in advance

JamesDAdams commented 3 months ago

@Siagutrop Hi, did you find a solution ? I have the same error...

ibaraki-douji commented 3 days ago

to enable the self signed certificate you need to add the "internal" keywork in the Caddyfile

image (you can keep the TLS version specification from the original if you want)

Also on some tests i did the hostname "localhost" cannot be used as a test instance. You need at least 2 layers (TLD + domain) to make it work so you can simply use "cozy.localhost" (don't forget to add it to the hosts file).