Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 667 Bytes
server {
listen 127.0.0.1:8000;
server_name 2012.pythonbrasil.org.br pythonbrasil.org.br;
rewrite /pre-registration/ /dashboard/ permanent;
charset utf-8;
location /media {
root /home/pythonbrasil/pythonbrasil8/pythonbrasil8;
expires max;
}
location /static {
root /home/pythonbrasil/pythonbrasil8/pythonbrasil8;
expires max;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8080;
}
}
Something went wrong with that request. Please try again.