#48 - heroku deployment #70

Merged
Baakoma merged 34 commits from #48-heroku-deployment into main 2022-03-15 14:46:42 +01:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit 519bc06167 - Show all commits

View File

@@ -1 +1 @@
web: vendor/bin/heroku-php-nginx public/ web: vendor/bin/heroku-php-nginx -C nginx.conf public/

10
nginx.conf Normal file
View File

@@ -0,0 +1,10 @@
if ($http_x_forwarded_proto != 'https') {
rewrite ^ https://$host$request_uri? permanent;
}
location / {
try_files $uri @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /index.php$1 last;
}