Configure nginx [skip ci]

This commit is contained in:
James Cole committed 2017-04-27 02:49:06 +02:00
1 parent f87b531fe1
commit fa818e0924
2 files changed
+7 -7

No files matched your search

+1 -1
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/
+6 -6
View File
@@ -1,7 +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;
try_files $uri @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /index.php$1 last;
}