Yesterday I found out that XBMC 13 is able to handle Nginx’s directory listings. Previously I used Nginx as a reverse proxy in front of Apache, in this setup Nginx would serve the actual files but it would proxy to Apache for directories;

location / {
  try_files $uri @apache/;
location @apache {
   proxy_redirect off;
   proxy_set_header Host $host:80;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

This setup maybe looks a little bit retarded but it worked perfectly, just using Nginx though is a LOT faster.

XBMC 13 & Nginx