Valentin V. Bartenev Wrote: ------------------------------------------------------- > > location / { > > # First attempt to serve request > as file, then > > # as directory, then fall back > to index.html > > try_files $uri $uri/ > /index.php?$args; > > } > > Just a side note, yoby Roddick - Nginx Mailing List - English
I have a php site with location /app served by Java app server on same server port 9001 What is in /app/ should become / (root) for Java app server I have this in config: server { ... index index.html index.htm index.php; location /app { proxy_pass http://localhost:9001; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503by Roddick - Nginx Mailing List - English