Skip to content

Commit

Permalink
Forward catalog... to catalog-dev.l and katalog... to catalog.l
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenpylons committed Apr 12, 2024
1 parent 691fae4 commit a033cf1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions machines/gateway.l/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
"catalog.pmd.lpm.feri.um.si" = {
inherit email;
};
"katalog.krajsa-izobrazevanja.feri.um.si" = {
inherit email;
};
"gc.lpm.feri.um.si" = {
inherit email;
};
Expand Down Expand Up @@ -235,11 +238,23 @@
enableACME = true;

locations."/api/" = {
proxyPass = "http://pmd-catalog.l:8080/api/";
proxyPass = "http://catalog-dev.l:8080/api/";
};
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://catalog-dev.l/";
};
};
"katalog.krajsa-izobrazevanja.feri.um.si" = {
addSSL = true;
enableACME = true;

locations."/api/" = {
proxyPass = "http://catalog.l:8080/api/";
};
locations."/" = {
recommendedProxySettings = true;
proxyPass = "http://pmd-catalog.l/";
proxyPass = "http://catalog.l/";
};
};
"sso-test.lpm.feri.um.si" = {
Expand Down

0 comments on commit a033cf1

Please sign in to comment.