jomaxro
(Joshua Rosenfeld)
September 6, 2017, 8:42pm
2
Here’s what I’d suggest.
Follow this guide to setup subfolder support:
Discourse Official Statement about Subfolder setup
We support subfolder setups for our hosted customers at the enterprise level and up. Due to heavy technical setup complexity we strongly recommend you do not use this setup unless you are very experienced in custom subfolder setups.
It is critical you have a deep understanding of
NGINX setup in the Discourse Docker container
Secure original IP forwarding using custom headers in the proxy chain
Rate limiting in front proxy server
I…
Next, follow this guide to setup the NGINX reverse proxy with Let’s Encrypt SSL support. You can add the offline page, or skip that part of the NGINX config:
This guide is intended for advanced users, who are already using nginx outside the docker container. By following this guide you make your setup more complicated and will loose some speed benefits like HTTP2 if you’re not running Ubuntu 16.04 or later. Proceed with caution!
When Discourse is rebuilding or starting up, your users will usually either see an error message from their browser…
[image]
…or a not-so-nice 502 error message from Nginx:
[image]
If you’re a perfectionist l…
Note, I’d highly suggest ensuring that your site works completely from example.com/forum
(the first guide above) before setting up NGINX.
4 Likes