Skip to content

Commit

Permalink
Make /var/www default path, increase default upload file sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell committed Apr 10, 2015
1 parent 7ba9f13 commit 4af08a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nginx-default.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
server {
listen 80;
root /var/www/public;
root /var/www;

pagespeed on;

Expand Down
16 changes: 9 additions & 7 deletions php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ display_errors = stderr
short_open_tag = Off
expose_php = Off
register_argc_argv = Off
upload_max_filesize = 20M
post_max_size = 22M

[Session]
session.gc_divisor = 1000
session.gc_maxlifetime = 86400
session.hash_bits_per_character = 5

[opcache]
zend_extension=opcache.so
opcache.enable=${PHP_OPCACHE}
opcache.memory_consumption=128
opcache.max_accelerated_files=32531
opcache.validate_timestamps=0
opcache.interned_strings_buffer=16
opcache.fast_shutdown=1
zend_extension = opcache.so
opcache.enable = ${PHP_OPCACHE}
opcache.memory_consumption = 128
opcache.max_accelerated_files = 32531
opcache.interned_strings_buffer = 16
opcache.validate_timestamps = On
opcache.fast_shutdown = On

0 comments on commit 4af08a5

Please sign in to comment.