Add api_test_server proxy
This commit is contained in:
parent
edfca7674e
commit
43d88c0872
1 changed files with 20 additions and 0 deletions
|
|
@ -20,6 +20,18 @@
|
|||
};
|
||||
};
|
||||
|
||||
api_test_server = {
|
||||
rule = "Host(`api.yanlincs.com`)";
|
||||
entrypoints = "websecure";
|
||||
service = "api_test_server";
|
||||
tls = {
|
||||
certResolver = "cloudflare";
|
||||
domains = [{
|
||||
main = "*.yanlincs.com";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
# Photo service (Immich)
|
||||
photo = {
|
||||
rule = "Host(`photo.yanlincs.com`)";
|
||||
|
|
@ -173,6 +185,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
api_test_server = {
|
||||
loadBalancer = {
|
||||
servers = [{
|
||||
url = "http://10.2.2.30:8000";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
# Photo service backend (via WireGuard)
|
||||
photo = {
|
||||
loadBalancer = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue