The following is an example configuration for an Nginx vhost.
This serves static content and pass all other requests to the uwsgi handler.
server {
listen 80;
server_name archive3.com;
access_log /var/log/nginx/access-archive3.com.log combined;
error_log /var/log/nginx/error-archive3.com.log warn;
location /static/ {
root /var/www/archive3.com;
}
location / {
uwsgi_pass 127.0.0.1:9090;
include uwsgi_params;
}
}