Merge pull request #867 from coollabsio/next

v3.12.14
This commit is contained in:
Andras Bacsai 2023-01-19 14:36:05 +01:00 committed by GitHub
commit 75dd894685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -19,7 +19,7 @@ import { saveBuildLog, saveDockerRegistryCredentials } from './buildPacks/common
import { scheduler } from './scheduler';
import type { ExecaChildProcess } from 'execa';
export const version = '3.12.13';
export const version = '3.12.14';
export const isDev = process.env.NODE_ENV === 'development';
export const sentryDSN =
'https://409f09bcb7af47928d3e0f46b78987f3@o1082494.ingest.sentry.io/4504236622217216';

View File

@ -50,6 +50,9 @@ function generateRouters(
isHttp2 = false
) {
let rule = `Host(\`${nakedDomain}\`)${pathPrefix ? ` && PathPrefix(\`${pathPrefix}\`)` : ''}`;
let ruleWWW = `Host(\`www.${nakedDomain}\`)${
pathPrefix ? ` && PathPrefix(\`${pathPrefix}\`)` : ''
}`;
let http: any = {
entrypoints: ['web'],
rule,
@ -69,14 +72,14 @@ function generateRouters(
};
let httpWWW: any = {
entrypoints: ['web'],
rule,
rule: ruleWWW,
service: `${serviceId}`,
priority: 2,
middlewares: []
};
let httpsWWW: any = {
entrypoints: ['websecure'],
rule,
rule: ruleWWW,
service: `${serviceId}`,
priority: 2,
tls: {

View File

@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
"version": "3.12.13",
"version": "3.12.14",
"license": "Apache-2.0",
"repository": "github:coollabsio/coolify",
"scripts": {