reorganized

i believe everything works
This commit is contained in:
2023-04-10 14:13:01 -05:00
parent 29c6567506
commit 65d36fe9d4
281 changed files with 340 additions and 88086 deletions

0
apps/foundry/.gitkeep Normal file
View File

1
apps/foundry/Dockerfile Normal file
View File

@@ -0,0 +1 @@
FROM felddy/foundryvtt:release

View File

View 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/;
}

View File

@@ -0,0 +1,3 @@
{
"foundry_admin_key": ""
}

21
apps/foundry/options.json Normal file
View 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
}