From 0b50226fd024910dad599e8cf33f8afdd50d0e0f Mon Sep 17 00:00:00 2001 From: Felix Knecht Date: Mon, 14 Aug 2017 21:11:25 +0200 Subject: [PATCH 1/2] Force http to https redirect --- conf/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1cdbe09..e29a459 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,10 @@ location ^~ #LOCATION# { + + # Force HTTPS + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } + proxy_pass http://localhost:#PORT##PATH#; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; From b3638d5cf098a465220bf055a91c57422931e694 Mon Sep 17 00:00:00 2001 From: Felix Knecht Date: Thu, 17 Aug 2017 15:08:08 +0200 Subject: [PATCH 2/2] Update URL to YunoHost-Apps --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef9edfe..dbf856d 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,5 @@ Rocketchat for yunohost You can either : -* Install from the Yunohost Admin web interface, by providing this URL: [https://github.com/realitygaps/rocketchat_ynh](https://github.com/realitygaps/rocketchat_ynh) -* Install from the command-line: `yunohost app install https://github.com/realitygaps/rocketchat_ynh` +* Install from the Yunohost Admin web interface, by providing this URL: [https://github.com/YunoHost-Apps/rocketchat_ynh](https://github.com/YunoHost-Apps/rocketchat_ynh) +* Install from the command-line: `yunohost app install https://github.com/YunoHost-Apps/rocketchat_ynh`