neounix
(Dark Matter)
January 26, 2021, 10:07am
7
FWIW, there are many example configurations for reverse proxy servers in front of the Discourse app, including this one, almost all address “X-Forwarded-Proto”:
Dear @Teraterayuki …
Here is an example set of working Apache2 virtual hosts for a reverse proxy to a unix domain socket in a Discourse container:
Port 80
<VirtualHost *:80>
ServerName mysite.mydomain.com
ServerAdmin webmaster@localhost
ProxyPreserveHost On
#ProxyPass / http://127.0.0.1:8888/
#ProxyPassReverse / http://127.0.0.1:8888/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.…