server { listen 80; listen [::]:80; ## listen for ipv4; this line is default and implied # listen [::]:80 default_server ipv6only=on; ## listen for ipv6 root /var/www/buildbot/; # Make site accessible from http://localhost/ server_name buildbot.taler.net; server_name www.buildbot.taler.net; location / { proxy_pass http://localhost:8010; proxy_redirect off; proxy_set_header Host $host; } error_page 502 /502.html; location = /502.html { root /home/fournier/buildbot; } include conf.d/favicon_robots; }