diff --git a/Procfile b/Procfile index bd63c31e10..7f25f10eb9 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: vendor/bin/heroku-php-nginx public/ +web: vendor/bin/heroku-php-nginx public/ -C nginx_app.conf diff --git a/nginx_app.conf b/nginx_app.conf new file mode 100644 index 0000000000..da8b8eea52 --- /dev/null +++ b/nginx_app.conf @@ -0,0 +1,7 @@ +location / { + try_files $uri $uri/ /index.php?$query_string; + autoindex on; + sendfile off; + } +client_max_body_size 300M; +index index.php index.html index.htm; \ No newline at end of file