From 8cbd1a8632177bc3dad8039ce8d13fcdd9e9f65b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 27 Mar 2022 16:29:12 +0200 Subject: [PATCH] Fix --- conf/.env | 3 +++ conf/nginx.conf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/.env b/conf/.env index a05ca13..4b9b3fd 100644 --- a/conf/.env +++ b/conf/.env @@ -29,3 +29,6 @@ MAIL_FROM=no-reply@__DOMAIN__ QUEUE_HIGH=high QUEUE_STANDARD=standard QUEUE_LOW=low + +PTERODACTYL_FILES_MAX_EDIT_SIZE=50000 +TRUSTED_PROXIES=127.0.0.1 diff --git a/conf/nginx.conf b/conf/nginx.conf index 027a7af..1bfe1f6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,7 @@ location __PATH__/ { index index.php; - try_files $uri $uri/ index.php; + try_files $uri $uri/ __PATH__/index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+\.php)(/.+)$;