Trouble configuring nginx and php

view full story

http://serverfault.com – I have been having trouble getting a php script to work with nginx. Invoking the script my-url:90/useraccessauthorization/useraccessauthorization.php gives me a 404 error. Below are my configuration details. Could someone please let me know what I am missing? Thanks in advance. /etc/nginx/sites-available/default : server { listen 90; root /usr/share/nginx/www; index index.html index.htm; access_log /var/log/nginx/top-secret-project.access.log; server_name localhost; location / { try_files $uri $uri/ /index.html; } location /doc { root (HowTos)