mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-07 19:03:10 +03:00
docs/Running: Correct and clarify the Apache Proxy examples.
This commit is contained in:
parent
c5070c7754
commit
e47b3e4021
@ -74,7 +74,7 @@ If you're already using another web server, such as Apache, you'll need to
|
|||||||
duplicate at least the use of a TLS certificate and the Reverse Proxying as
|
duplicate at least the use of a TLS certificate and the Reverse Proxying as
|
||||||
required.
|
required.
|
||||||
|
|
||||||
For Apache you reverse proxy using something like the following in an
|
For Apache you would reverse proxy using something like the following in an
|
||||||
appropriate `<VirtualHost>` section:
|
appropriate `<VirtualHost>` section:
|
||||||
|
|
||||||
<IfModule mod_proxy.c>
|
<IfModule mod_proxy.c>
|
||||||
@ -83,9 +83,9 @@ appropriate `<VirtualHost>` section:
|
|||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
|
||||||
# Pass through 'gateway' upload URL to Debian VM
|
# Pass through 'gateway' upload URL to Debian VM
|
||||||
ProxyPass "/eddn/upload/" "https://EDDNHOST:8081/upload/"
|
ProxyPass "/upload/" "https://EDDNHOST:8081/upload/"
|
||||||
# Pass through 'monitor' URLs to Debian VM
|
# Pass through 'monitor' URLs to Debian VM
|
||||||
ProxyPass "/eddn/" "https://EDDNHOST/"
|
ProxyPass "/" "https://EDDNHOST/"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
## In the 'eddn' account
|
## In the 'eddn' account
|
||||||
@ -282,6 +282,10 @@ If using Apache on a Debian server then you need some ProxyPass directives:
|
|||||||
ProxyPass "/eddn/" "https://VM_HOST/"
|
ProxyPass "/eddn/" "https://VM_HOST/"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
This assumes you don't have a dedicated virtual host in this case, hence the
|
||||||
|
"/eddn" prefix there. Remove that if you are using a dedicated virtual host
|
||||||
|
on the 'existing server'.
|
||||||
|
|
||||||
You'll also need to redirect the Gateway and Relay ports using firewall rules.
|
You'll also need to redirect the Gateway and Relay ports using firewall rules.
|
||||||
With iptables:
|
With iptables:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user