Hello, I should first mention that I am totally new to everything related to nginx (and hosting in general). I am trying to install XenForo on Ubuntu 12.04 with nginx and php-fpm installed. I am not getting far before I encounter problems. I've read around several threads trying to figure out what I am doing wrong but I reckon my primary problem lies within the nginx configuration. I might be missing something essential - as the general structure or something else .. Anyway, this is my folder structure: Code: /opt/www/forum/<xenforo> nginx config: http://pastebin.com/ip96k3CX I am receiving "502 Bad Gateway" when I try to reach anything on the domain (http://18.104.22.168). Urgh! What am I doing wrong here? Thanks!