From 803e3864d02b2b8e85b36427b445c2800bcc2a13 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 13 Jun 2026 19:10:59 +0200 Subject: [PATCH] fix(invoiceninja): pass X-Forwarded-Host/Proto to PHP-FPM so Symfony correctly resolves port from Host header --- install/invoiceninja-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/invoiceninja-install.sh b/install/invoiceninja-install.sh index df82049e5..cfd2379cb 100644 --- a/install/invoiceninja-install.sh +++ b/install/invoiceninja-install.sh @@ -132,8 +132,9 @@ server { location = /index.php { fastcgi_pass unix:/run/php/php8.4-fpm.sock; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; - fastcgi_param SERVER_NAME $http_host; include fastcgi_params; + fastcgi_param HTTP_X_FORWARDED_HOST $http_host; + fastcgi_param HTTP_X_FORWARDED_PROTO $scheme; fastcgi_read_timeout 300; }