From c5a4cf09c0bcfbd743be811f38fb97f2e2f01532 Mon Sep 17 00:00:00 2001 From: zackartz Date: Fri, 3 May 2024 17:25:14 -0400 Subject: [PATCH] add fastcgi_params --- hosts/pluto/services/pterodactyl.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/pluto/services/pterodactyl.nix b/hosts/pluto/services/pterodactyl.nix index 94c5395..3a64047 100644 --- a/hosts/pluto/services/pterodactyl.nix +++ b/hosts/pluto/services/pterodactyl.nix @@ -61,6 +61,7 @@ fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:${config.services.phpfpm.pools.mypool.socket}; fastcgi_index index.php; + include ${pkgs.nginx}/conf/fastcgi_params; fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M"; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param HTTP_PROXY "";