Skip to content

Commit

Permalink
webservers(caddy): fix PHP_VALUE newlines (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny6167 authored Apr 27, 2024
1 parent 406bd5a commit dc9ddb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .snippets/webservers/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
3 changes: 2 additions & 1 deletion .snippets/webservers/Caddyfile-nossl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dc9ddb6

Please sign in to comment.