Merge pull request #10 from frju365/master

Some fix
This commit is contained in:
liberodark 2019-01-02 23:06:46 +01:00 committed by GitHub
commit 0873bb3018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -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;
}

View file

@ -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