fix provisioning (including proxy https)

This commit is contained in:
hackerESQ
2024-09-09 17:21:08 -05:00
parent 8a9bb68354
commit c878607d61
2 changed files with 6 additions and 1 deletions
+6
View File
@@ -27,6 +27,12 @@ if ( ! grep -q "^APP_KEY=" ".env" || grep -q "^APP_KEY=$" ".env"); then
/usr/local/bin/php artisan key:generate --force
fi
if [ ! -L "public/storage" ]; then
echo " > Creating symbolic link for app public storage..."
/usr/local/bin/php artisan storage:link
fi
echo "====================== Installing NPM dependencies and building frontend... ====================== "
/usr/bin/npm install
/usr/bin/npm run build
-1
View File
@@ -8,7 +8,6 @@ server {
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;