resolver 127.0.0.11;
# configuration of the server
server {
# the port your site will be served on
listen 80;
# the domain name it will serve for
server_name hdalab.test; # substitute your machine's IP address or FQDN
charset utf-8;
# max upload size
client_max_body_size 75M; # adjust to taste
location /static {
alias /var/lib/hdalab/static;
}
set $upstream hdalab:8001;
# Finally, send all non-media requests to the Django server.
location / {
uwsgi_pass $upstream;
include uwsgi_params; # the uwsgi_params file you installed
}
}