domain: split the config and wellknown routes
we want to add more stuff to the UI like the jitsi URL
This commit is contained in:
@@ -143,7 +143,7 @@ describe('Reverse Proxy', function () {
|
||||
before(async function () {
|
||||
domainCopy.tlsConfig = { provider: 'letsencrypt-prod' };
|
||||
|
||||
await domains.update(domainCopy.domain, domainCopy, auditSource);
|
||||
await domains.setConfig(domainCopy.domain, domainCopy, auditSource);
|
||||
});
|
||||
|
||||
it('returns prod acme in prod cloudron', async function () {
|
||||
@@ -157,7 +157,7 @@ describe('Reverse Proxy', function () {
|
||||
before(async function () {
|
||||
domainCopy.tlsConfig = { provider: 'letsencrypt-staging' };
|
||||
|
||||
await domains.update(domainCopy.domain, domainCopy, auditSource);
|
||||
await domains.setConfig(domainCopy.domain, domainCopy, auditSource);
|
||||
});
|
||||
|
||||
it('returns staging acme in prod cloudron', async function () {
|
||||
@@ -171,7 +171,7 @@ describe('Reverse Proxy', function () {
|
||||
before(async function () {
|
||||
domainCopy.tlsConfig = { provider: 'fallback' };
|
||||
|
||||
await domains.update(domainCopy.domain, domainCopy, auditSource);
|
||||
await domains.setConfig(domainCopy.domain, domainCopy, auditSource);
|
||||
});
|
||||
|
||||
it('configure nginx correctly', async function () {
|
||||
|
||||
Reference in New Issue
Block a user