move bisection to subdomain

This commit is contained in:
nora 2022-11-25 18:57:28 +01:00
parent 5957dd694b
commit cae02577c8
No known key found for this signature in database

View file

@ -11,19 +11,21 @@ http {
server_name "nilstrieb.dev";
location = /bisect-rustc {
return 302 /bisect-rustc/;
location / {
return 302 https://blog.nilstrieb.dev$request_uri;
}
}
location /bisect-rustc/ {
server {
listen 443 ssl;
server_name "bisect-rustc.nilstrieb.dev";
location / {
resolver 127.0.0.11 valid=30s;
set $upstream_service cargo-bisect-rustc-service;
proxy_pass http://$upstream_service:4000/;
}
location / {
return 302 https://blog.nilstrieb.dev$request_uri;
}
}
server {