From 108b6450793b778c0a63dd4caabbed9967e36c04 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 6 Jun 2015 07:17:18 +0200 Subject: [PATCH] Update reverseproxy.rst --- users/reverseproxy.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/reverseproxy.rst b/users/reverseproxy.rst index e62138668..e1e4c7b25 100644 --- a/users/reverseproxy.rst +++ b/users/reverseproxy.rst @@ -23,7 +23,7 @@ GUI hosted on **localhost:8384**. Apache ~~~~~~ -.. code-block:: +.. code-block: ProxyPass /syncthing/ http://localhost:8384/ @@ -35,7 +35,7 @@ Apache Nginx ~~~~~ -.. code-block:: +.. code-block: location /syncthing/ { 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 behaviour as above -.. code-block:: +.. code-block: RewriteEngine On RewriteCond %{HTTPS} !=on