reorganized
i believe everything works
This commit is contained in:
0
apps/foundry/.gitkeep
Normal file
0
apps/foundry/.gitkeep
Normal file
1
apps/foundry/Dockerfile
Normal file
1
apps/foundry/Dockerfile
Normal file
@@ -0,0 +1 @@
|
||||
FROM felddy/foundryvtt:release
|
||||
0
apps/foundry/container_cache/.gitkeep
Normal file
0
apps/foundry/container_cache/.gitkeep
Normal file
24
apps/foundry/foundry.nginx.conf
Normal file
24
apps/foundry/foundry.nginx.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
location ~ ^/foundry/$ {
|
||||
return 301 /foundry/game/;
|
||||
}
|
||||
|
||||
|
||||
location /foundry/ {
|
||||
auth_request /vouch/validate;
|
||||
auth_request_set $auth_resp_x_vouch_user $upstream_http_x_vouch_user;
|
||||
proxy_set_header X-Vouch-User $auth_resp_x_vouch_user;
|
||||
# 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";
|
||||
# may need to set
|
||||
# auth_request_set $auth_resp_x_vouch_user $upstream_http_x_vouch_user;
|
||||
# in this bock as per https://github.com/vouch/vouch-proxy/issues/26#issuecomment-425215810
|
||||
# set user header (usually an email)
|
||||
proxy_pass http://foundry:30000/foundry/;
|
||||
}
|
||||
|
||||
3
apps/foundry/foundry_secrets_sample.json
Normal file
3
apps/foundry/foundry_secrets_sample.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"foundry_admin_key": ""
|
||||
}
|
||||
21
apps/foundry/options.json
Normal file
21
apps/foundry/options.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"awsConfig": null,
|
||||
"compressStatic": false,
|
||||
"dataPath": "/srv/foundry",
|
||||
"fullscreen": false,
|
||||
"hostname": null,
|
||||
"language": "en.core",
|
||||
"localHostname": null,
|
||||
"passwordSalt": null,
|
||||
"port": 30000,
|
||||
"protocol": null,
|
||||
"proxyPort": 9090,
|
||||
"proxySSL": true,
|
||||
"routePrefix": "foundry",
|
||||
"sslCert": null,
|
||||
"sslKey": null,
|
||||
"updateChannel": "release",
|
||||
"upnp": false,
|
||||
"upnpLeaseDuration": null,
|
||||
"world": null
|
||||
}
|
||||
Reference in New Issue
Block a user