test
This commit is contained in:
parent
39f8a748bd
commit
519bc06167
2
Procfile
2
Procfile
@ -1 +1 @@
|
|||||||
web: vendor/bin/heroku-php-nginx public/
|
web: vendor/bin/heroku-php-nginx -C nginx.conf public/
|
||||||
|
10
nginx.conf
Normal file
10
nginx.conf
Normal 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;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user