Move to Traefik
This commit is contained in:
19
nginx/docker-compose.yml
Normal file
19
nginx/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:1.25
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.nginx.rule=Host(`montana2000.freeddns.org`)"
|
||||
- "traefik.http.routers.nginx.middlewares=nginx-auth"
|
||||
- "traefik.http.middlewares.nginx-auth.basicauth.users=nils:$$apr1$$JDBG7p8k$$LB8y6/aKcNQ/ybLz7LXjY."
|
||||
networks:
|
||||
- traefik_web
|
||||
volumes:
|
||||
- www-data:/usr/share/nginx/html/
|
||||
|
||||
volumes:
|
||||
www-data:
|
||||
|
||||
networks:
|
||||
traefik_web:
|
||||
external: true
|
||||
Reference in New Issue
Block a user