mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
upstream
This commit is contained in:
parent
2c4d665553
commit
932090c24b
1 changed files with 9 additions and 3 deletions
|
|
@ -12,7 +12,9 @@ http {
|
|||
server_name "nilstrieb.dev";
|
||||
|
||||
location /bisect-rustc {
|
||||
proxy_pass http://cargo-bisect-rustc-service:4000/;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_service cargo-bisect-rustc-service;
|
||||
proxy_pass http://$upstream_service:4000/;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
@ -28,7 +30,9 @@ http {
|
|||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
proxy_pass https://registry:5000/;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_registry registry;
|
||||
proxy_pass https://$upstream_registry:5000/;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -38,7 +42,9 @@ http {
|
|||
server_name "cors-school.nilstrieb.dev";
|
||||
|
||||
location / {
|
||||
proxy_pass http://cors-school-frontend:80/;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_frontend cors-school-frontend;
|
||||
proxy_pass http://$upstream_frontend:80/;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue