Commit 4119cb4530d778f3dd8eafd8e832e87735d4e265
1 parent
cd62616e
Exists in
master
and in
29 other branches
Improve sample pound.cfg
Rails needs that header to know that the whole system is actually being accessed via HTTPS
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
etc/pound.cfg
@@ -23,6 +23,7 @@ End | @@ -23,6 +23,7 @@ End | ||
23 | 23 | ||
24 | ListenHTTPS | 24 | ListenHTTPS |
25 | Address 0.0.0.0 | 25 | Address 0.0.0.0 |
26 | + AddHeader "X-Forwarded-Proto: https" | ||
26 | Port 443 | 27 | Port 443 |
27 | Cert "/etc/noosfero/ssl/noosfero.pem" | 28 | Cert "/etc/noosfero/ssl/noosfero.pem" |
28 | Ciphers "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM" | 29 | Ciphers "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM" |