commit
cef3cbb5f5
1 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
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) {
|
||||
|
@ -16,8 +18,3 @@ location ^~ __PATH__ {
|
|||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
location @pterodactyl {
|
||||
rewrite /(.*)$ /index.php?/$1 last;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue