Fixed nginx config

The nginx.conf file was slightly off. Modified in order to fix static and media filepaths.