#4 Add nginx container at test.nginx.jafner.net
to test DNS challenge
This commit is contained in:
parent
322a79c2f5
commit
ec6f552a53
14
homelab/fighter/config/nginx/docker-compose.yml
Normal file
14
homelab/fighter/config/nginx/docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
nginx:
|
||||||
|
image: nginx
|
||||||
|
container_name: nginx_nginx
|
||||||
|
restart: "no"
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
labels:
|
||||||
|
- traefik.http.routers.nginx.rule=Host(`test.nginx.jafner.net`)
|
||||||
|
- traefik.http.routers.nginx.tls.certresolver=lets-encrypt-dns01
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web:
|
||||||
|
external: true
|
Loading…
Reference in New Issue
Block a user