# Nginx 404 not found/503 error in subdir

**URL:** <https://www.ruby-forum.com/t/nginx-404-not-found-503-error-in-subdir/214242>\
**Category:** NGINX\
**Created:** [November 25, 2011, 2:44pm UTC](https://www.ruby-forum.com/t/nginx-404-not-found-503-error-in-subdir/214242 "2011-11-25T14:44:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [November 25, 2011, 2:44pm UTC](https://www.ruby-forum.com/t/nginx-404-not-found-503-error-in-subdir/214242/1 "2011-11-25T14:44:45Z")

</div>

Okay, i setup a debian install with ispconfig3 ,php5-fpm and nginx, the  
main site, drupal is working fine, even perfect. But i also have a  
modded phpbb3 board, in a subdir, named ‘forum’.

Now for some reason i get the following error from nginx when accesing  
the dir:

‘ERROR 500 - Internal Server Error!’

This is the content of the nginx directiv field(for vhost):

> **[\# search for already compressed files gzip\_static on; gzip on; # some -...](https://pastebin.com/rTacVDSa)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

I checked the php and nginx logs, nothing in it that suggest an error  
with php…

Posted at Nginx Forum:

> **[Nginx 404 not found/503 error in subdir.](https://forum.nginx.org/read.php?2,219034,219034#msg-219034)**
>
> Okay, i setup a debian install with ispconfig3 ,php5-fpm and nginx, the main site, drupal is working fine, even perfect. But i also have a modded phpbb3 board, in a subdir, named 'forum'. Now for some reason i get the following error from nginx when...
