mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-30 22:31:34 +00:00
Remove nginx for now
This commit is contained in:
parent
87627eeeee
commit
a1c4d7682d
3 changed files with 1 additions and 24 deletions
10
compose.yml
10
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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -12,4 +12,4 @@ http:
|
|||
advlabdb:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://advlabdb-nginx
|
||||
- url: http://advlabdb
|
||||
|
|
Loading…
Reference in a new issue