Do not commit .env files, only their examples.

This commit is contained in:
2023-08-21 11:51:15 -07:00
parent bc8fadb0b6
commit ea2f3953ee
2 changed files with 19 additions and 0 deletions

3
.gitignore vendored
View File

@@ -30,3 +30,6 @@ Config/DNS/config/*
# Ignore anything in disabled folders. # Ignore anything in disabled folders.
disabled disabled
# Ignore any .env files which are not explicitly committed to the project.
*.env

16
dns.env.example Normal file
View File

@@ -0,0 +1,16 @@
# File to hold any specific DNS servers you'd like to use. This is helpful in
# situations such as Nextcloud needing to access an OnlyOffice server on the
# internal network but the router does not allow the traffic to go out and back
# in. Therefore a local DNS is necessary in order to tell Nextcloud that the
# document server is a local IP address rather than the WAN address like an
# external DNS would.
# A private DNS server, such as one run by this project's Config/DNS/ config.
DNS1=10.110.1.53
# Fallback server, such as Cloudflare 1.1.1.1 or the system's local gateway.
DNS2=192.168.1.1
# Explicitly defined external DNS servers.
DNS_EX1=1.1.1.1
DNS_EX2=1.0.0.1