From f87b531fe117986298246b7e4df26cc2b1e7188a Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 27 Apr 2017 02:45:26 +0200 Subject: [PATCH] Configure nginx [skip ci] --- Procfile | 2 +- nginx_app.conf | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 nginx_app.conf 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