File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,11 @@ In development, you'd run:
341
341
In production, you may need to set up these to handle persistence & HTTPS:
342
342
- Set up an NGINX or Apache proxy with a LetsEncrypt certificate
343
343
(see [./nginx.conf](./nginx.conf) for an example.)
344
+ - For the reference deployment, we are using a VM behind a proxy. We needed to set
345
+ the following NGINX configuration values: `real_ip_header X-Forwarded-For;` and
346
+ `set_real_ip_from ####;`, where `####` is the IP block for the hypervisor from the
347
+ VM' s perspective, in order to get correct ` X-Real-IP` values for the terms of use
348
+ agreement.
344
349
- Set up Redis to handle caching
345
350
- Set up Postgres to handle persistent data
346
351
- In production, make sure to configure Postgres with ** lots of RAM ** and 4 + workers for gathers!
You can’t perform that action at this time.
0 commit comments