http{ server { server_name dyn.localhost; index index.html; location = /favicon.ico { root /srv/www; } location ~ ^/(|index.html)$ { root /root/minimun/www; } location / { include uwsgi_params; uwsgi_modifier1 9; uwsgi_pass 127.0.0.1:8080; } } }