server { listen 888; server_name 127.0.0.1; index index.html index.htm index.php; root {$SERVER_PATH}/phpmyadmin; #error_page 404 /404.html; include enable-php-{$PHP_VER}.conf; location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } location ~ /\. { deny all; } access_log {$SERVER_PATH}/phpmyadmin/access.log; error_log {$SERVER_PATH}/phpmyadmin/error.log; }