diff --git a/conf/nginx.conf b/conf/nginx.conf index 26a7c8b..45ea24b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,7 @@ root /var/www/pterodactyl/public/; location ^~ __PATH__ { alias __FINALPATH__/public/; - try_files $uri $uri/ @pterodactyl; + try_files $uri $uri/ /index.php?$query_string; index index.php index.htm index.html; # Force https if ($scheme = http) { @@ -18,8 +18,3 @@ location ^~ __PATH__ { fastcgi_param SCRIPT_FILENAME $request_filename; } } - - -location @pterodactyl { - rewrite /(.*)$ /index.php?/$1 last; -}