I'm trying to setup nginx to proxy all my web requests. 

Here is my config so far:


location /observium {
        index index.html index.htm index.php;
        access_log off;
#       rewrite ^(.+)$ /index.php/$1/ last;
        error_page 404 502 504 = @fallback;
        proxy_set_header Host web001.borg.local;
        proxy_pass http://10.150.1.78;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }


I am getting the php config error when I got to the site.


Any help would be appreciated!