WP Tricks
If you serve wordpress over proxy with SSL (https) add in wp-config.php
PHP
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) {
define('FORCE_SSL_ADMIN', true);
$_SERVER['HTTPS']='on';
}
Increase upload and memory limit and other stuff adding file /usr/local/etc/php/conf.d/uploads.ini