This commit is contained in:
nora 2022-10-24 20:13:56 +02:00
parent 2c4d665553
commit 932090c24b
No known key found for this signature in database

View file

@ -12,7 +12,9 @@ http {
server_name "nilstrieb.dev"; server_name "nilstrieb.dev";
location /bisect-rustc { 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 / { location / {
@ -28,7 +30,9 @@ http {
client_max_body_size 0; client_max_body_size 0;
location / { 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"; server_name "cors-school.nilstrieb.dev";
location / { 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/;
} }
} }