Connect assets to nginx
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user