Website dazu

This commit is contained in:
Stefan Bethke 2023-12-07 20:05:10 +01:00
parent e630ffdf46
commit 53ba5b9561
2 changed files with 16 additions and 1 deletions

View file

@ -36,7 +36,15 @@ server {
# Also provide "_hidden" for by, since it's not relevant.
proxy_set_header Forwarded "for=$remote_addr;proto=https;host=$host;by=_hidden";
location = / {
proxy_pass http://127.0.0.1:8888/;
}
location ~ ^/(apple-touch-icon.png|assets|css|js|posts|tours)(.*)$ {
proxy_pass http://127.0.0.1:8888/$1$2;
}
location / {
proxy_pass http://127.0.0.1:8345/;
}
}

View file

@ -45,12 +45,19 @@ services:
- "CELERY_BACKEND=redis://redis/0"
- "CELERY_BROKER=redis://redis/1"
volumes:
- pretix:/rdata
- pretix:/data
restart: always
networks:
backend:
frontend:
web:
image: gitlab-cr.hamburg.ccc.de/ccchh/hackertours/hackertours:latest
ports:
- "8888:80"
restart: always
networks:
frontend:
volumes:
database: {}