File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4343fi
4444
4545# Only write to cloaking-rules.txt if both domain and internal_ip are available
46+ # Initialize cloaking-rules.txt with pwa
47+ echo " pwa.${domain} https.dappnode.private" > cloaking-rules.txt # Add PWA domain to cloaking rules
4648if [ -n " $domain " ] && [ -n " $internal_ip " ]; then
47- echo " $domain $internal_ip " > cloaking-rules.txt
48- echo " pwa.${domain} https.dappnode.private" >> cloaking-rules.txt # Add PWA domain to cloaking rules
49+ echo " $domain $internal_ip " >> cloaking-rules.txt
4950
5051 kill $pid
5152 wait $pid
5253
5354 /app/dnscrypt-proxy
5455else
55- touch cloaking-rules.txt
5656 echo " [ERROR] Missing domain or internal IP. Cloaking rules not updated. Dyndns domain will not be forwarded to internal IP."
5757fi
You can’t perform that action at this time.
0 commit comments