mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-10-01 01:35:49 -04:00
update dns conf inis
This commit is contained in:
parent
71397b40fd
commit
87cdcfdb18
@ -2,5 +2,5 @@
|
|||||||
# https://ram.console.aliyun.com/
|
# https://ram.console.aliyun.com/
|
||||||
# And ensure your RAM account has AliyunDNSFullAccess permission.
|
# And ensure your RAM account has AliyunDNSFullAccess permission.
|
||||||
|
|
||||||
certbot_dns_aliyun:dns_aliyun_access_key = 12345678
|
dns_aliyun_access_key = 12345678
|
||||||
certbot_dns_aliyun:dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdef
|
dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdef
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Instructions: https://github.com/domeneshop/certbot-dns-domeneshop#credentials
|
# Instructions: https://github.com/domeneshop/certbot-dns-domeneshop#credentials
|
||||||
# Replace with your values
|
# Replace with your values
|
||||||
certbot_dns_domeneshop:dns_domeneshop_client_token=1234567890abcdef
|
dns_domeneshop_client_token=1234567890abcdef
|
||||||
certbot_dns_domeneshop:dns_domeneshop_client_secret=1234567890abcdefghijklmnopqrstuvxyz1234567890abcdefghijklmnopqrs
|
dns_domeneshop_client_secret=1234567890abcdefghijklmnopqrstuvxyz1234567890abcdefghijklmnopqrs
|
@ -1,6 +1,6 @@
|
|||||||
# Instructions: https://github.com/oGGy990/certbot-dns-inwx
|
# Instructions: https://github.com/oGGy990/certbot-dns-inwx
|
||||||
# Replace with your values
|
# Replace with your values
|
||||||
certbot_dns_inwx:dns_inwx_url = https://api.domrobot.com/xmlrpc/
|
dns_inwx_url = https://api.domrobot.com/xmlrpc/
|
||||||
certbot_dns_inwx:dns_inwx_username = your_username
|
dns_inwx_username = your_username
|
||||||
certbot_dns_inwx:dns_inwx_password = your_password
|
dns_inwx_password = your_password
|
||||||
certbot_dns_inwx:dns_inwx_shared_secret = your_shared_secret optional
|
dns_inwx_shared_secret = your_shared_secret optional
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
# Convert the key to an RSA key (openssl rsa -in transip.key -out transip-rsa.key)
|
# Convert the key to an RSA key (openssl rsa -in transip.key -out transip-rsa.key)
|
||||||
# Place .key-file in the same directory as this file. Location "/config/dns-conf" is from within the container
|
# Place .key-file in the same directory as this file. Location "/config/dns-conf" is from within the container
|
||||||
|
|
||||||
certbot_dns_transip:dns_transip_username = <transip_username>
|
dns_transip_username = <transip_username>
|
||||||
certbot_dns_transip:dns_transip_key_file = /config/dns-conf/transip-rsa.key
|
dns_transip_key_file = /config/dns-conf/transip-rsa.key
|
@ -185,6 +185,12 @@ else
|
|||||||
EMAILPARAM="--register-unsafely-without-email"
|
EMAILPARAM="--register-unsafely-without-email"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# update plugin names in dns conf inis
|
||||||
|
sed -i 's|^certbot_dns_aliyun:||g' /defaults/dns-conf/aliyun.ini
|
||||||
|
sed -i 's|^certbot_dns_domeneshop:||g' /defaults/dns-conf/domeneshop.ini
|
||||||
|
sed -i 's|^certbot_dns_inwx:||g' /defaults/dns-conf/inwx.ini
|
||||||
|
sed -i 's|^certbot_dns_transip:||g' /defaults/dns-conf/transip.ini
|
||||||
|
|
||||||
# setting the validation method to use
|
# setting the validation method to use
|
||||||
if [ "$VALIDATION" = "dns" ]; then
|
if [ "$VALIDATION" = "dns" ]; then
|
||||||
if [ "$DNSPLUGIN" = "route53" ]; then
|
if [ "$DNSPLUGIN" = "route53" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user