Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Nginx by uplexir ( 6 years ago )
server {
location /static {
autoindex off;
expires 1;
alias /usr/src/app/static;
}
location /media {
autoindex off;
alias /usr/src/app/media;
}
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_buffering off;
proxy_pass http://localhost:8080;
}
}
Revise this Paste