commit
0873bb3018
2 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -194,7 +194,7 @@ yunohost service add $app --log "/var/log/$app/$app-prod.log"
|
|||
# Cron
|
||||
#==============================================
|
||||
|
||||
su $app -c 'crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run" ; } | crontab -'
|
||||
crontab -l | { cat; echo "* * * * * php /var/www/pterodactyl/artisan schedule:run" ; } | crontab -
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Reference in a new issue