Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysite.com.conf
- ===============
- # First Server
- server {
- # Enter your fully qualified domain name
- server_name m.mysite.com;
- # Listen on port 80 without SSL certificates
- listen 80;
- # Sets the Max Upload size to 300 MB
- client_max_body_size 300M;
- # Proxy Requests to Foundry VTT
- location / {
- # 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";
- # Make sure to set your Foundry VTT port number
- proxy_pass http://localhost:30001;
- }
- }
- # Second Server
- server {
- # Enter your fully qualified domain name
- server_name r.mysite.com;
- # Listen on port 80 without SSL certificates
- listen 80;
- # Sets the Max Upload size to 300 MB
- client_max_body_size 300M;
- # Proxy Requests to Foundry VTT
- location / {
- # 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";
- # Make sure to set your Foundry VTT port number
- proxy_pass http://localhost:30000;
- }
- }
- options.json for the one that does work
- =======================================
- {
- "port": 30001,
- "upnp": true,
- "fullscreen": false,
- "hostname": "m.mysite.com",
- "routePrefix": null,
- "sslCert": null,
- "sslKey": null,
- "awsConfig": null,
- "dataPath": "/home/foundry/foundrydatam",
- "proxySSL": false,
- "proxyPort": 80,
- "minifyStaticFiles": true,
- "updateChannel": "release",
- "language": "en.core",
- "world": null
- }
- options.json for the one that fails
- ===================================
- {
- "port": 30000,
- "upnp": true,
- "fullscreen": false,
- "hostname": "r.mysite.com",
- "routePrefix": null,
- "sslCert": null,
- "sslKey": null,
- "awsConfig": null,
- "dataPath": "/home/foundry/foundrydatar",
- "proxySSL": false,
- "proxyPort": 80,
- "minifyStaticFiles": true,
- "updateChannel": "release",
- "language": "en.core",
- "world": null
- }
Advertisement
Add Comment
Please, Sign In to add comment