Connect assets to nginx

This commit is contained in:
2024-12-30 12:14:53 +00:00
parent 056336ce79
commit cdd316d232
2 changed files with 11 additions and 0 deletions

View File

@@ -14,11 +14,17 @@ x-logging: &logging
services:
change:
<<: *logging
container_name: change
image: node:alpine
build: ./change-game
environment:
- PORT=9000
networks:
- nginx
volumes:
- change:/change/public
foundry:
<<: *logging
image: felddy/foundryvtt:release
@@ -637,6 +643,7 @@ services:
- nextcloud:/var/www/html/nextcloud:ro
- ./christmas:/var/www/html/christmas:ro
- tt-rss:/var/www/html/tt-rss:ro
- change:/var/www/html/change:ro
environment:
- DOMAIN=${DOMAIN}
depends_on:
@@ -685,6 +692,7 @@ volumes:
homebox:
navidrome:
minecraft:
change:
networks:
db:

View File

@@ -391,6 +391,9 @@ http {
location /change {
alias "/var/www/html/change";
try_files $uri /change/index.html;
# Set proxy headers
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;