This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-1158
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1158 by this push:
     new b94bf35  added redirect to https
b94bf35 is described below

commit b94bf35ff9dcde2a2edd7e035564af4bef5f4e76
Author: Oleh Martushevskyi <oleh_martushevs...@epam.com>
AuthorDate: Mon Nov 4 15:52:00 2019 +0200

    added redirect to https
---
 infrastructure-provisioning/src/ssn/templates/nginx_proxy.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/ssn/templates/nginx_proxy.conf 
b/infrastructure-provisioning/src/ssn/templates/nginx_proxy.conf
index 280e52c..08a228c 100644
--- a/infrastructure-provisioning/src/ssn/templates/nginx_proxy.conf
+++ b/infrastructure-provisioning/src/ssn/templates/nginx_proxy.conf
@@ -23,9 +23,9 @@ server {
 
     listen 80;
     server_name  SSN_HOSTNAME;
-    # rewrite ^/(.*)$ https://$server_name/$1 permanent;
     proxy_buffering off;
     include locations/proxy_location_*.conf;
+    rewrite ^/(.*)$ https://$server_name/$1 permanent;
 }
 
 server {
@@ -40,7 +40,7 @@ server {
     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
     ssl_ciphers 
'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA25
 [...]
     ssl_prefer_server_ciphers on;
-    ssl_dhparam /etc/ssl/certs/dhparam.pem;
+    # ssl_dhparam /etc/ssl/certs/dhparam.pem;
 
     include locations/proxy_location_*.conf;
 }
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to