server {
    listen 80;

    location /static/ {
        alias /home/app/hiring/mysite/static/;
    }

    location /media/ {
        alias /home/app/hiring/mysite/media/;
    }

    location / {
        proxy_pass http://hiringsite:8000;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $host;
        proxy_redirect off;
    }
}
