Configure nginx [skip ci]

This commit is contained in:
James Cole 2017-04-27 02:45:26 +02:00
parent 82fd0c4d37
commit f87b531fe1
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 8 additions and 1 deletions

View File

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

7
nginx_app.conf Normal file
View File

@ -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;