diff --git a/conf/nginx.conf b/conf/nginx.conf index 88b9d56..792ea40 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ location ^~ __PATH__ { alias __FINALPATH__/public/; -try_files $uri $uri/ @pterodactyl; -index index.php index.htm index.html; + try_files $uri $uri/ @pterodactyl; + index index.php index.htm index.html; # Force https if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; @@ -21,4 +21,3 @@ index index.php index.htm index.html; location @pterodactyl { rewrite /(.*)$ /index.php?/$1 last; } -