traefik domain redirects
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
{
|
||||
{config, ...}: {
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
webhookUrl = "https://wf.m3tam3re.com";
|
||||
};
|
||||
|
||||
systemd.services.n8n.serviceConfig = {
|
||||
EnvironmentFile = ["${config.age.secrets.n8n-env.path}"];
|
||||
};
|
||||
# Traefik configuration specific to n8n
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.n8n.loadBalancer.servers = [
|
||||
@ -13,7 +15,7 @@
|
||||
];
|
||||
|
||||
routers.n8n = {
|
||||
rule = "Host(`wf.m3tam3re.com`)";
|
||||
rule = "Host(`wf.m3ta.dev`)";
|
||||
tls = {
|
||||
certResolver = "godaddy";
|
||||
};
|
||||
|
Reference in New Issue
Block a user