Update reverseproxy.rst
This commit is contained in:
@@ -23,7 +23,7 @@ GUI hosted on **localhost:8384**.
|
|||||||
Apache
|
Apache
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
.. code-block:
|
::
|
||||||
|
|
||||||
ProxyPass /syncthing/ http://localhost:8384/
|
ProxyPass /syncthing/ http://localhost:8384/
|
||||||
<Location /syncthing/>
|
<Location /syncthing/>
|
||||||
@@ -35,7 +35,7 @@ Apache
|
|||||||
Nginx
|
Nginx
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
.. code-block:
|
::
|
||||||
|
|
||||||
location /syncthing/ {
|
location /syncthing/ {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
@@ -59,7 +59,7 @@ Add the configuration bellow to a **.htaccess** file in the folder of your
|
|||||||
webroot which should redirect to the WebUI, **/syncthing** to produce the same
|
webroot which should redirect to the WebUI, **/syncthing** to produce the same
|
||||||
behaviour as above
|
behaviour as above
|
||||||
|
|
||||||
.. code-block:
|
::
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{HTTPS} !=on
|
RewriteCond %{HTTPS} !=on
|
||||||
|
|||||||
Reference in New Issue
Block a user