mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
move bisection to subdomain
This commit is contained in:
parent
5957dd694b
commit
cae02577c8
1 changed files with 9 additions and 7 deletions
|
|
@ -11,19 +11,21 @@ http {
|
||||||
|
|
||||||
server_name "nilstrieb.dev";
|
server_name "nilstrieb.dev";
|
||||||
|
|
||||||
location = /bisect-rustc {
|
location / {
|
||||||
return 302 /bisect-rustc/;
|
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;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_service cargo-bisect-rustc-service;
|
set $upstream_service cargo-bisect-rustc-service;
|
||||||
proxy_pass http://$upstream_service:4000/;
|
proxy_pass http://$upstream_service:4000/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
|
||||||
return 302 https://blog.nilstrieb.dev$request_uri;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue