linuxserver / docker-letsencrypt

DEPRECATED: Please use linuxserver/swag instead
GNU General Public License v3.0
720 stars 172 forks source link

reverse proxy examples do not seem to work #463

Closed molnarti closed 4 years ago

molnarti commented 4 years ago

I am trying to enable some of the reverse proxy sample files in nginx/proxy-conf.

i have followed the instructions of the readme.md file, set up a separate bridge network, attached all my containers to it and attempted to run the container.

enabling adminer.subfolder.conf without any changes (the file claims none are necessery) gives me this error: nginx: [emerg] "location" directive is not allowed here in /config/nginx/proxy-confs/adminer.subfolder.conf:3,

enabling jacket.subdomain.conf gives this: nginx: [warn] conflicting server name "jackett." on 0.0.0.0:443, ignored, nginx: [warn] conflicting server name "jackett." on [::]:443, ignored

the conflicting server name error is what I get on all subdomain proxys i have tried.

all my services are set up in a single docker-compose file, this is the section for letsencrypt:

image: linuxserver/letsencrypt container_name: letsencrypt cap_add:

aptalca commented 4 years ago

Looks like you edited/customized/overrode one of the default nginx confs and broke it. I assure you they work with the defaults

Or maybe your letsencrypt container is really old and you never updated the default confs since we started offering the preset proxy confs

j0nnymoe commented 4 years ago

Closing due to no response.