add nginx container

master
meftimes 2024-03-20 11:51:45 -04:00
parent 54d1d162d0
commit cbab565251
2 changed files with 19 additions and 0 deletions

18
nginx/nginx.yml 100644
View File

@ -0,0 +1,18 @@
version: "3"
services:
client:
image: nginx:latest
container_name: nginx
volumes:
- ./src:/usr/share/nginx/html
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.nginx.entrypoints=websecure"
- "traefik.http.routers.nginx.rule=Host(`nginx.meftimes.com`)"
- "traefik.http.routers.nginx.middlewares=authelia@docker"
networks:
proxy:
external: true

View File

@ -0,0 +1 @@
<h1 style="font-size:8vw;">Sample Text</h1>