Add foundry VTT container
This commit is contained in:
29
nginx.conf
29
nginx.conf
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user