Nginx FastCGI in subdirectory only?

view story

http://serverfault.com – I have a single domain where the root is served by a python application running under uWSGI. I however need to run a PHP forum on a subfolder /forum/. I have the following in the apps-available configuration file: location / { try_files $uri @oath; } location @oath { include uwsgi_params; uwsgi_pass; } location /forum/ { alias /home/drake/forum; index index.php; } location ~ /forum/(.*)\.php { include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass; } However, example.com/foru (HowTos)