Add foundry VTT container

This commit is contained in:
2021-06-21 18:25:05 +01:00
parent 99b7f7e05b
commit 6ca3889ebb
3 changed files with 56 additions and 8 deletions

View File

@@ -418,6 +418,35 @@ http {
}
}
upstream foundry-handler {
server foundry:30000;
}
server {
listen 443 ssl http2;
ssl_certificate /etc/nginx/certs/scarif.space.crt;
ssl_certificate_key /etc/nginx/certs/scarif.space.key;
server_name rec.scarif.space;
client_max_body_size 300M;
location /foundry {
# Set proxy headers
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# These are important to support WebSockets;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://foundry-handler;
}
}
upstream dashboard-handler {
server dashboard:5000;
}