Simplify ddclient template and enable SSL
This commit is contained in:
parent
26763ff614
commit
2615bc1557
@ -3,16 +3,8 @@
|
|||||||
# /etc/ddclient.conf
|
# /etc/ddclient.conf
|
||||||
|
|
||||||
{% for domain in ddclient %}
|
{% for domain in ddclient %}
|
||||||
{% if domain.verbose is sameas true or domain.verbose is not defined %}
|
protocol={{ domain.protocol | default('namecheap')}}, verbose=yes
|
||||||
verbose=yes
|
ssl=yes, use=web, web={{ domain.web | default('https://dynamicdns.park-your-domain.com/getip')}}
|
||||||
{% else %}
|
|
||||||
verbose=no
|
|
||||||
{% endif %}
|
|
||||||
use=web, web={{ domain.web | default('dynamicdns.park-your-domain.com/getip')}}
|
|
||||||
protocol={{ domain.protocol | default('namecheap')}}
|
|
||||||
{% if domain.server is defined %}
|
|
||||||
server={{ domain.server }}
|
|
||||||
{% endif %}
|
|
||||||
{% if domain.name is defined %}
|
{% if domain.name is defined %}
|
||||||
login={{ domain.name }}
|
login={{ domain.name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user