mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-13 03:28:19 +00:00
add tls
This commit is contained in:
@@ -78,6 +78,15 @@ export function buildTraefikConfig(
|
|||||||
middlewares: [middlewareName],
|
middlewares: [middlewareName],
|
||||||
service: serviceName,
|
service: serviceName,
|
||||||
rule: `Host(\`${target.resourceId}\`)`, // assuming resourceId is a valid full hostname
|
rule: `Host(\`${target.resourceId}\`)`, // assuming resourceId is a valid full hostname
|
||||||
|
tls: {
|
||||||
|
certResolver: "letsencrypt",
|
||||||
|
domains: [
|
||||||
|
{
|
||||||
|
main: "fossorial.io",
|
||||||
|
sans: ["*.fossorial.io"],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
http.services![serviceName] = {
|
http.services![serviceName] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user