mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-25 09:21:04 +00:00
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,7 +343,8 @@ Remove `#` on the ErrorLog and CustomLog lines to log requests.
|
||||||
|
|
||||||
ProxyPass / http://127.0.0.1:5000/
|
ProxyPass / http://127.0.0.1:5000/
|
||||||
ProxyPassReverse / http://127.0.0.1:5000/
|
ProxyPassReverse / http://127.0.0.1:5000/
|
||||||
|
ProxyPreserveHost On
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/letsencrypt/live/[YOUR_DOMAIN]/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/[YOUR_DOMAIN]/fullchain.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/[YOUR_DOMAIN]/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/[YOUR_DOMAIN]/privkey.pem
|
||||||
|
|
Loading…
Reference in a new issue