summaryrefslogtreecommitdiffstats
path: root/server/etc/apache.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'server/etc/apache.conf.tmpl')
-rw-r--r--server/etc/apache.conf.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/etc/apache.conf.tmpl b/server/etc/apache.conf.tmpl
index 9ce9a115..5ecd996e 100644
--- a/server/etc/apache.conf.tmpl
+++ b/server/etc/apache.conf.tmpl
@@ -22,6 +22,7 @@ RewriteEngine On
# Redirect HTTP to HTTPS and RESTful configuration.
<Directory CONSOLEDIR/rest>
RewriteBase /opengnsys/rest/
+ RewriteRule .? - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
RewriteCond %{REQUEST_FILENAME} !-f