diff --git a/.env.example b/.env.example index c31069b..9002fb3 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,7 @@ APP_NAME=BeSerious.GG APP_ENV=local APP_KEY= APP_DEBUG=true -APP_URL=http://beserious.gg +APP_URL=https://beserious.gg LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=deprecations diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index ffc3f2d..f82b435 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -8,7 +8,7 @@ class TrustProxies extends Middleware { /** {@inheritdoc} */ - protected $proxies; + protected $proxies = '*'; /** * The headers that should be used to detect proxies. diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..a06efa7 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,13 @@ +[phases.setup] +nixPkgs = ['...', 'nano'] + +[phases.install] +cmds = [ + '...', + 'php artisan storage:link', + #'php artisan config:cache', + 'php artisan route:cache', + 'php artisan view:cache', + 'php artisan event:cache', + #'php artisan migrate --force', +]