Connect assets to nginx
This commit is contained in:
@@ -14,11 +14,17 @@ x-logging: &logging
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
change:
|
change:
|
||||||
|
<<: *logging
|
||||||
container_name: change
|
container_name: change
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
build: ./change-game
|
build: ./change-game
|
||||||
environment:
|
environment:
|
||||||
- PORT=9000
|
- PORT=9000
|
||||||
|
networks:
|
||||||
|
- nginx
|
||||||
|
volumes:
|
||||||
|
- change:/change/public
|
||||||
|
|
||||||
foundry:
|
foundry:
|
||||||
<<: *logging
|
<<: *logging
|
||||||
image: felddy/foundryvtt:release
|
image: felddy/foundryvtt:release
|
||||||
@@ -637,6 +643,7 @@ services:
|
|||||||
- nextcloud:/var/www/html/nextcloud:ro
|
- nextcloud:/var/www/html/nextcloud:ro
|
||||||
- ./christmas:/var/www/html/christmas:ro
|
- ./christmas:/var/www/html/christmas:ro
|
||||||
- tt-rss:/var/www/html/tt-rss:ro
|
- tt-rss:/var/www/html/tt-rss:ro
|
||||||
|
- change:/var/www/html/change:ro
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN=${DOMAIN}
|
- DOMAIN=${DOMAIN}
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -685,6 +692,7 @@ volumes:
|
|||||||
homebox:
|
homebox:
|
||||||
navidrome:
|
navidrome:
|
||||||
minecraft:
|
minecraft:
|
||||||
|
change:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
db:
|
db:
|
||||||
|
|||||||
@@ -391,6 +391,9 @@ http {
|
|||||||
|
|
||||||
location /change {
|
location /change {
|
||||||
|
|
||||||
|
alias "/var/www/html/change";
|
||||||
|
try_files $uri /change/index.html;
|
||||||
|
|
||||||
# Set proxy headers
|
# Set proxy headers
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Reference in New Issue
Block a user