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)(/.+)$;