diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f0d11d..4324e31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - PASSBOLT-2158: corrected management of fullbaseurl throug url env variable - PASSBOLT-2164: corrected typo on email_transport env variable +- PASSBOLT-2166: http to https redirection fixed ### Added diff --git a/conf/passbolt.conf b/conf/passbolt.conf index 57df81e..af68783 100644 --- a/conf/passbolt.conf +++ b/conf/passbolt.conf @@ -36,6 +36,7 @@ server { fastcgi_split_path_info ^(.+\.php)(.+)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param SERVER_NAME $http_host; } location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ { @@ -86,6 +87,7 @@ server { fastcgi_split_path_info ^(.+\.php)(.+)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param SERVER_NAME $http_host; } location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {