Reconfigure to run out of /app directory

This commit is contained in:
2024-01-23 16:34:37 -06:00
parent d5c553af5a
commit 17107bd7bb
8 changed files with 30 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ server {
server_name _;
root /var/www/pterodactyl/public;
root /app/public;
index index.php;
charset utf-8;
@@ -19,7 +19,7 @@ server {
location = /robots.txt { access_log off; log_not_found off; }
access_log off;
error_log /var/log/nginx/pterodactyl.app-error.log error;
error_log /config/logs/nginx/pterodactyl.app-error.log error;
# allow larger file uploads and longer script runtimes
client_max_body_size 100m;

View File

@@ -13,11 +13,11 @@ server {
listen 443 ssl http2;
server_name _;
root /var/www/pterodactyl/public;
root /app/public;
index index.php;
access_log /var/log/nginx/pterodactyl.app-access.log;
error_log /var/log/nginx/pterodactyl.app-error.log error;
access_log /config/logs/nginx/pterodactyl.app-access.log;
error_log /config/logs/nginx/pterodactyl.app-error.log error;
# allow larger file uploads and longer script runtimes
client_max_body_size 100m;