[survey-web/oscp] Have routers to pods encrypt traffic



commit 7217269bae948268e08c282387957c3045314606
Author: Andrea Veri <averi redhat com>
Date:   Fri May 3 19:22:01 2019 +0200

    Have routers to pods encrypt traffic

 docker/surveys.gnome.org.conf | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/docker/surveys.gnome.org.conf b/docker/surveys.gnome.org.conf
index effb71f..9dfb8a0 100644
--- a/docker/surveys.gnome.org.conf
+++ b/docker/surveys.gnome.org.conf
@@ -1,6 +1,11 @@
-<VirtualHost *:8080>
+<VirtualHost *:8443>
         ServerName surveys.gnome.org
 
+        SSLEngine on
+        SSLCompression Off
+        SSLCertificateFile /var/serving-cert/tls.crt
+        SSLCertificateKeyFile /var/serving-cert/tls.key
+
         DocumentRoot /app/limesurvey
         <Directory />
                 Options Indexes FollowSymLinks MultiViews
@@ -9,15 +14,14 @@
                 Require all granted 
         </Directory>
 
-
         # Possible values include: debug, info, notice, warn, error, crit,
         # alert, emerg.
         LogLevel warn
-       ErrorLog /dev/stderr
+        ErrorLog /dev/stderr
         TransferLog /dev/stdout
 
-       #
-       # Set HTTPS environment variable if we came in over secure
-       #  channel.
-       SetEnvIf x-forwarded-proto https HTTPS=on
+        #
+        # Set HTTPS environment variable if we came in over secure
+        #  channel.
+        SetEnvIf x-forwarded-proto https HTTPS=on
 </VirtualHost>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]