From fca1e463743da097c397b214da758e4161bacb11 Mon Sep 17 00:00:00 2001 From: frju365 Date: Wed, 2 Jan 2019 23:02:09 +0100 Subject: [PATCH 1/2] indentation --- conf/nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 88b9d56..792ea40 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; } - From aeb1eda36da925b6dfe779a6ec9ae423470232fc Mon Sep 17 00:00:00 2001 From: frju365 Date: Wed, 2 Jan 2019 23:04:08 +0100 Subject: [PATCH 2/2] cron --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0dbb693..6c34d78 100644 --- a/scripts/install +++ b/scripts/install @@ -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