From dc9ddb6477a94e8e7625dbcfd04115551ffb8cc4 Mon Sep 17 00:00:00 2001 From: Daniel Barton Date: Sun, 28 Apr 2024 05:31:54 +0800 Subject: [PATCH] webservers(caddy): fix PHP_VALUE newlines (#575) --- .snippets/webservers/Caddyfile | 3 ++- .snippets/webservers/Caddyfile-nossl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.snippets/webservers/Caddyfile b/.snippets/webservers/Caddyfile index 725edd85..0755b23c 100644 --- a/.snippets/webservers/Caddyfile +++ b/.snippets/webservers/Caddyfile @@ -15,7 +15,8 @@ root /var/www/pterodactyl/public index index.php - env PHP_VALUE "upload_max_filesize = 100M \n post_max_size = 100M" + env PHP_VALUE "upload_max_filesize = 100M + post_max_size = 100M" env HTTP_PROXY "" env HTTPS "on" diff --git a/.snippets/webservers/Caddyfile-nossl b/.snippets/webservers/Caddyfile-nossl index 1b796e0f..4762d034 100644 --- a/.snippets/webservers/Caddyfile-nossl +++ b/.snippets/webservers/Caddyfile-nossl @@ -15,7 +15,8 @@ root /var/www/pterodactyl/public index index.php - env PHP_VALUE "upload_max_filesize = 100M \n post_max_size = 100M" + env PHP_VALUE "upload_max_filesize = 100M + post_max_size = 100M" env HTTP_PROXY "" # env HTTPS "on" # IMPORTANT: this is commented out, to disable HTTPS