diff --git a/nginx/nginx.yml b/nginx/nginx.yml new file mode 100644 index 0000000..150bf21 --- /dev/null +++ b/nginx/nginx.yml @@ -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 diff --git a/nginx/src/index.html b/nginx/src/index.html new file mode 100644 index 0000000..2f80ea7 --- /dev/null +++ b/nginx/src/index.html @@ -0,0 +1 @@ +

Sample Text