File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ framework:
55 # csrf_protection: true
66 http_method_override : false
77
8- trusted_proxies : ' %trusted_proxies%'
9-
108 # Enables session support. Note that the session will ONLY be started if you read or write from it.
119 # Remove or comment this section to explicitly disable session support.
1210 session :
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ parameters:
1313 default_birthday_reminder_offset : " PT9H"
1414 caldav_enabled : " %env(bool:CALDAV_ENABLED)%"
1515 carddav_enabled : " %env(bool:CARDDAV_ENABLED)%"
16- trusted_proxies : ' %env(default:default_trusted_proxies:TRUSTED_PROXIES)%'
17- default_trusted_proxies : ' 127.0.0.1,REMOTE_ADDR'
1816
1917services :
2018 # default configuration for services in *this* file
Original file line number Diff line number Diff line change 88 redir /.well-known/carddav /dav/
99
1010 root * /var/www/davis/public
11- php_fastcgi unix//var/run/php-fpm/php-fpm.sock
11+ php_fastcgi unix//var/run/php-fpm/php-fpm.sock {
12+ # Preserve the original X-Forwarded-Proto from upstream, as it might be HTTPS
13+ header_up X-Forwarded-Proto {http.request.header.X-Forwarded-Proto}
14+ header_up X-Forwarded-Host {http.request.header.X-Forwarded-Host}
15+ header_up X-Forwarded-For {http.request.header.X-Forwarded-For}
16+ }
17+
1218 file_server {
1319 # Safety net, just in case
1420 hide .git .gitignore
You can’t perform that action at this time.
0 commit comments