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__ { location ^~ __PATH__ {
alias __FINALPATH__/public/; alias __FINALPATH__/public/;
try_files $uri $uri/ @pterodactyl; try_files $uri $uri/ @pterodactyl;
index index.php index.htm index.html; index index.php index.htm index.html;
# Force https # Force https
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
@ -21,4 +21,3 @@ index index.php index.htm index.html;
location @pterodactyl { location @pterodactyl {
rewrite /(.*)$ /index.php?/$1 last; rewrite /(.*)$ /index.php?/$1 last;
} }

View file

@ -194,7 +194,7 @@ yunohost service add $app --log "/var/log/$app/$app-prod.log"
# Cron # 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 # GENERIC FINALIZATION