Configure nginx [skip ci]

This commit is contained in:
James Cole 2017-04-27 02:49:06 +02:00
parent f87b531fe1
commit fa818e0924
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 7 additions and 7 deletions

View File

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

View File

@ -1,7 +1,7 @@
location / { location / {
try_files $uri $uri/ /index.php?$query_string; try_files $uri @rewriteapp;
autoindex on; }
sendfile off;
} location @rewriteapp {
client_max_body_size 300M; rewrite ^(.*)$ /index.php$1 last;
index index.php index.html index.htm; }