This commit is contained in:
frju365 2019-01-03 00:30:06 +01:00
parent 9d25defdfd
commit 85769ed4d9
No known key found for this signature in database
GPG key ID: 59BFB76C5925FC73

View file

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