From 429728d0a08fd274ab59b85de60b938efa4d2012 Mon Sep 17 00:00:00 2001
From: Razique Mahroua <rmahroua@redhat.com>
Date: Sat, 30 Nov 2019 00:52:14 +0100
Subject: [PATCH] Add redirection from HTTP to HTTPS Update Dockerfile so the container can run in OpenShift

---
 todo-angular/README.md |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/todo-angular/README.md b/todo-angular/README.md
index f400c98..604fcad 100644
--- a/todo-angular/README.md
+++ b/todo-angular/README.md
@@ -51,11 +51,12 @@
   # COPY nginx/dhparam.pem /etc/ssl/conf/dhparam.pem
   # COPY nginx/conf.d/ssl.conf /etc/nginx/conf.d/ssl.conf
   ```
-  2. In `nginx/nginx.conf`comment line 38 & 66:
+  2. In `nginx/nginx.conf`comment line 38 & 66-67:
   ```
   # include /etc/nginx/conf.d/*.conf;
   ...
-  # error_page 497 https://$host:8443/$request_uri;
+  # error_page 497 https://$host:8443$request_uri;
+  # return 301 https://$host:8443$request_uri;
   ```
   3. Rebuild the image:
   ```

--
Gitblit v1.9.3