Hi from germany,
i try to switch my VPS to Docker-Images. I wanted to stay on your images and started with the NGINX.
When i use NGINX in my docker-compose, i can see the testpage on my domain.
---
version: "2"
services:
nginx:
image: linuxserver/nginx
container_name: nginx
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- /home/user/appdata/nginx:/config
ports:
- 80:80
- 443:443
restart: unless-stopped
I want to have https, so i started to replace the above docker-compose.yml with this:
---
version: "2"
services:
letsencrypt:
image: linuxserver/letsencrypt
container_name: letsencrypt
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- URL=myurl.de
- SUBDOMAINS=www,
- VALIDATION=http
volumes:
- /home/myuser/appdata/letsencrypt:/config
ports:
- 443:443
- 80:80
restart: unless-stopped
Please note: I changed URL= and volumes for this post.
When i spin up the container, i cannot see the testpage on my domain.
Is there something i missed? It looks like the letsencrypt image has some problems.
If you need any logs, feel free to ask for them.