server { listen 80; server_name workdiary.aguimaraes.org; root /web/alvaro/aguimaraes.org/workdiary; access_log /web/alvaro/logs/workdiary.aguimaraes.org-access.log combined buffer=32k; error_log /web/alvaro/logs/workdiary.aguimaraes.org-error.log error; index index.php index.html index.htm;
location / { try_files $uri $uri/ @php; }
location @php { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root/index.php; include fastcgi_params; } }