summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/keyserver/templates/sks.conf14
1 files changed, 10 insertions, 4 deletions
diff --git a/roles/keyserver/templates/sks.conf b/roles/keyserver/templates/sks.conf
index b11d8e50b..2a5b3af29 100644
--- a/roles/keyserver/templates/sks.conf
+++ b/roles/keyserver/templates/sks.conf
@@ -40,10 +40,16 @@ NameVirtualHost *:443
<VirtualHost *:80>
ServerAdmin sysadmin-keys-members@fedoraproject.org
ServerName keys.fedoraproject.org
- RewriteEngine On
- RewriteCond %{HTTPS} off
- RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
- Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
+
+# RewriteEngine On
+# RewriteCond %{HTTPS} off
+# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE]
+# Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
+
+ ProxyPass / http://localhost:11371/
+ ProxyPassReverse / http://localhost:11371/
+ SetEnv proxy-nokeepalive 1
+ ProxyVia Full
</VirtualHost>
<VirtualHost *:443>