mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-22 04:15:50 +02:00
fix(invoiceninja): pass HTTP_HOST as SERVER_NAME to PHP-FPM so setup page assets and form use correct port
This commit is contained in:
@@ -132,6 +132,7 @@ server {
|
|||||||
location = /index.php {
|
location = /index.php {
|
||||||
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
|
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
|
fastcgi_param SERVER_NAME $http_host;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_read_timeout 300;
|
fastcgi_read_timeout 300;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user