forked from mirrors/LibreTranslate
Update README.md
File translation via Apache proxy needs "ProxyPreserveHost On", which is "Off" on some distributions (RHEL8 for instance). Else window.location.host will point to the container IP instead of the host.
This commit is contained in:
parent
e9bf9099d3
commit
2cf9d2a028
1 changed files with 2 additions and 1 deletions
|
@ -343,6 +343,7 @@ Remove `#` on the ErrorLog and CustomLog lines to log requests.
|
|||
|
||||
ProxyPass / http://127.0.0.1:5000/
|
||||
ProxyPassReverse / http://127.0.0.1:5000/
|
||||
ProxyPreserveHost On
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/letsencrypt/live/[YOUR_DOMAIN]/fullchain.pem
|
||||
|
|
Loading…
Reference in a new issue