mirror of
https://github.com/syncthing/syncthing.git
synced 2026-12-02 06:42:41 -08:00
reverseproxy: Fix obsolete port
This commit is contained in:
1 parent
ba04d232e8
commit
6e14b63175
1 file changed
+1
-1
@@ -66,7 +66,7 @@ behaviour as above
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteCond %{ENV:HTTPS} !=on
|
||||
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
|
||||
RewriteRule ^(.*) http://localhost:8080/$1 [P]
|
||||
RewriteRule ^(.*) http://localhost:8384/$1 [P]
|
||||
|
||||
|
||||
This method also redirects to HTTPS to prevent opening the GUI unencrypted.
|
||||
Reference in new issue
Block a user