feat/Update_Controllers_to_Allow_for_Premium_Membership
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
test("public health reaches the backend instead of the SPA fallback", () => {
|
||||
const config = fs.readFileSync(path.join(process.cwd(), "nginx.conf"), "utf8");
|
||||
test("canonical-host health reaches the backend instead of the SPA fallback", () => {
|
||||
const config = fs.readFileSync(path.join(process.cwd(), "nginx.conf.template"), "utf8");
|
||||
|
||||
expect(config).toMatch(/location = \/health\s*{[^}]*proxy_pass http:\/\/backend:8080\/health;/s);
|
||||
expect(config).toMatch(/location = \/health\s*{[^}]*proxy_pass http:\/\/backend-web:8080\/health;/s);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user