Fix nextcloud mail Message-ID header

Simó Albert i Beltran 2021-12-01 18:40:32 +01:00
parent 566f36eee6
commit ec517d1235
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ http {
fastcgi_pass php-handler; fastcgi_pass php-handler;
fastcgi_intercept_errors on; fastcgi_intercept_errors on;
fastcgi_request_buffering off; fastcgi_request_buffering off;
# Horde, used by nextcloud mail app, needs $_SERVER['SERVER_NAME'] to generate Message-ID header
# See also: https://github.com/nextcloud/mail/issues/5764
fastcgi_param SERVER_NAME $host;
} }
location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) { location ~ ^\/(?:updater|oc[ms]-provider)(?:$|\/) {