Do not commit .env files, only their examples.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -30,3 +30,6 @@ Config/DNS/config/*
|
||||
|
||||
# Ignore anything in disabled folders.
|
||||
disabled
|
||||
|
||||
# Ignore any .env files which are not explicitly committed to the project.
|
||||
*.env
|
||||
|
16
dns.env.example
Normal file
16
dns.env.example
Normal 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
|
Reference in New Issue
Block a user