Jafner.net/homelab/server/config/nginx/docker-compose.yml

16 lines
369 B
YAML
Raw Normal View History

2022-07-16 00:46:39 -07:00
version: '3'
services:
nginx:
image: nginx
2022-10-17 10:05:51 -07:00
container_name: nginx_test
2022-07-16 00:46:39 -07:00
networks:
- web
labels:
2022-11-15 14:26:07 -08:00
- traefik.http.routers.nginx.rule=Host(`test.jafner.chat`)
2022-07-16 00:46:39 -07:00
- traefik.http.routers.nginx.tls.certresolver=lets-encrypt
2023-01-11 21:09:25 -08:00
- traefik.http.routers.nginx.middlewares=traefik-forward-auth-privileged@file
2022-07-16 00:46:39 -07:00
networks:
web:
external: true