add nginx container
parent
54d1d162d0
commit
cbab565251
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
<h1 style="font-size:8vw;">Sample Text</h1>
|
Loading…
Reference in New Issue