location /hauk { root /var/www/hauk; index index.html index.htm; } location ~ \.php$ { root /var/www; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/hauk$fastcgi_script_name; include fastcgi_params; }