Skip to content

Commit 3234423

Browse files
author
Kristan Kenney
committed
Add fastcgi_param HTTPS flag to secure templates
1 parent 63c7e7e commit 3234423

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

install/deb/templates/mail/nginx/default.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ server {
4444
fastcgi_index index.php;
4545
include fastcgi_params;
4646
fastcgi_param SCRIPT_FILENAME $request_filename;
47+
fastcgi_param HTTPS on;
4748
}
4849

4950
location @fallback {

install/deb/templates/mail/nginx/web_system.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ server {
4646
fastcgi_index index.php;
4747
include fastcgi_params;
4848
fastcgi_param SCRIPT_FILENAME $request_filename;
49+
fastcgi_param HTTPS on;
4950
}
5051

5152
error_page 403 /error/404.html;

0 commit comments

Comments
 (0)