server { listen 80; listen [::]:80; listen 443 ssl; ssl_certificate /home/alex/_certbot/config/live/iiiypuk.me/fullchain.pem; ssl_certificate_key /home/alex/_certbot/config/live/iiiypuk.me/privkey.pem; root /home/alex/Sites/iiiypuk.me; location /git/ { proxy_pass http://localhost:3000/; } location /donate/ { root /home/alex/Sites/iiiypuk.me/donate/; } location /torrent/ { proxy_pass http://127.0.0.1:9091; proxy_pass_header X-Transmission-Session-Id; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } server_name iiiypuk.me; }