summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-04-25 00:21:50 +0000
committerKevin Fenzi <kevin@scrye.com>2017-04-25 00:21:59 +0000
commit4e3c0cd018ca20730026340dc6677bc913474cae (patch)
tree14a83809855ed33891308a9860fd809e5bc71738
parent9eb2e3ddf9e8c3bb4e755bcc528d4b8a75ce9081 (diff)
downloadansible-4e3c0cd018ca20730026340dc6677bc913474cae.tar.gz
ansible-4e3c0cd018ca20730026340dc6677bc913474cae.tar.xz
ansible-4e3c0cd018ca20730026340dc6677bc913474cae.zip
drop redirect to https on keys for now
-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>