diff --git a/compose.yml b/compose.yml index acee6e8..61b923e 100644 --- a/compose.yml +++ b/compose.yml @@ -13,16 +13,6 @@ services: - TZ=Europe/Berlin networks: - traefik - nginx: - image: docker.io/library/nginx:alpine - container_name: advlabdb_nginx - restart: unless-stopped - volumes: - - ../nginx/conf.d:/etc/nginx/conf.d:Z,ro - environment: - - TZ=Europe/Berlin - networks: - - traefik networks: traefik: diff --git a/deploy/nginx/conf.d/advlabdb.conf b/deploy/nginx/conf.d/advlabdb.conf deleted file mode 100644 index af1c508..0000000 --- a/deploy/nginx/conf.d/advlabdb.conf +++ /dev/null @@ -1,13 +0,0 @@ -server { - listen 80; - # Uncomment following line and replace SERVER_NAME! - # server_name SERVER_NAME; - - location / { - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header Host $http_host; - proxy_redirect off; - proxy_pass http://advlabdb; - } -} diff --git a/deploy/traefik/etc/dynamic.yml b/deploy/traefik/etc/dynamic.yml index 480b427..53f910b 100644 --- a/deploy/traefik/etc/dynamic.yml +++ b/deploy/traefik/etc/dynamic.yml @@ -12,4 +12,4 @@ http: advlabdb: loadBalancer: servers: - - url: http://advlabdb-nginx + - url: http://advlabdb