update traefik_config example and remove quotes around smtp_port

This commit is contained in:
Milo Schwartz 2025-01-30 17:15:07 -05:00
parent 5de6028136
commit cb1ccbe945
No known key found for this signature in database
2 changed files with 2 additions and 8 deletions

View file

@ -4,13 +4,7 @@ api:
providers: providers:
http: http:
endpoint: "http://pangolin:3001/api/v1/traefik-config/http" endpoint: "http://pangolin:{{.INTERNAL_PORT}}/api/v1/traefik-config"
pollInterval: "5s"
udp:
endpoint: "http://pangolin:3001/api/v1/traefik-config/udp"
pollInterval: "5s"
tcp:
endpoint: "http://pangolin:3001/api/v1/traefik-config/tcp"
pollInterval: "5s" pollInterval: "5s"
file: file:
filename: "/etc/traefik/dynamic_config.yml" filename: "/etc/traefik/dynamic_config.yml"

View file

@ -40,7 +40,7 @@ rate_limits:
{{if .EnableEmail}} {{if .EnableEmail}}
email: email:
smtp_host: "{{.EmailSMTPHost}}" smtp_host: "{{.EmailSMTPHost}}"
smtp_port: "{{.EmailSMTPPort}}" smtp_port: {{.EmailSMTPPort}}
smtp_user: "{{.EmailSMTPUser}}" smtp_user: "{{.EmailSMTPUser}}"
smtp_pass: "{{.EmailSMTPPass}}" smtp_pass: "{{.EmailSMTPPass}}"
no_reply: "{{.EmailNoReply}}" no_reply: "{{.EmailNoReply}}"