1

Serving static directory on subdomain with assets

view story
linux-howto

http://serverfault.com – I have a html presentation which I would like to serve on a subdomain on my server. It just consists of some static html files and some assets (the Github is here). I'm trying to write an nginx config file which will serve the presentation. What I have so far is the following: server { server_name make-js-like-ruby.grinnick.com; root /home/dtuite/stuff/presentations/make_js_like_ruby/introduction; access_log off; error_log off; } The actual root file is in /introduction/index.html. Nginx seems to serve that file by default which is fine. The problem is that none of the assets see (HowTos)