Skip to content

Commit

Permalink
Minor docs PR (#2496)
Browse files Browse the repository at this point in the history
* Add custom tls certs page to docs 
* Add more detail about internet connection timeout, DNS rebinding to FAQ
* Make sure global gitignore ignores *-compose-full.yaml
  • Loading branch information
rfay committed Sep 16, 2020
1 parent bdfb162 commit 13105a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmd/ddev/cmd/global_dotddev_assets/.gitignore
Expand Up @@ -6,6 +6,7 @@
/global_config.yaml
/pantheon*
/*compose.yaml
/*compose-full.yaml
/.sshimageBuild
/.update
/testcache
2 changes: 1 addition & 1 deletion cmd/ddev/cmd/packrd/packed-packr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/users/faq.md
Expand Up @@ -34,4 +34,4 @@
* Use project type "php" instead of the type of your CMS. "php" just means "Don't try to create settings files and such for me.". The "php" type works great for experienced developers.
* "Take over" the settings file or .gitignore by deleting the line "#ddev-generated" in it (and then check in the file). If that line is removed, ddev will not try to replace or change the file.

* **I see "Internet connection not detected" and DDEV-Local wants to add a hostname to /etc/hosts. But my internet is working!** ddev uses the ability to do a DNS lookup of <somethingrandom>.ddev.site as a proxy for whether you're connected to the internet, and it guesses that it ought to be able to complete that in about 750ms or maybe the internet isn't available. If it finds no internet, it will try to create entries in /etc/hosts, since it's assuming you can't use *.ddev.site via DNS. If your internet is actually working, but DNS is slow, just `ddev config global --internet-detection-timeout-ms=3000` to set the timeout to 3 seconds. See[issue link](https://github.com/drud/ddev/issues/2409#issuecomment-662448025) for more details.
* **I see "Internet connection not detected" and DDEV-Local wants to add a hostname to /etc/hosts. But my internet is working!** ddev uses the ability to do a DNS lookup of <somethingrandom>.ddev.site as a proxy for whether you're connected to the internet, and it guesses that it ought to be able to complete that in about 750ms or maybe the internet isn't available. If it finds no internet, it will try to create entries in /etc/hosts, since it's assuming you can't use *.ddev.site via DNS. If your internet is actually working, but DNS is slow, just `ddev config global --internet-detection-timeout-ms=3000` to set the timeout to 3 seconds. See[issue link](https://github.com/drud/ddev/issues/2409#issuecomment-662448025) for more details. (If DNS rebinding is disallowed on your network, this won't be solvable without network changes. Help [here](https://github.com/drud/ddev/issues/2409#issuecomment-675083658) and [here](https://github.com/drud/ddev/issues/2409#issuecomment-686718237).)
1 change: 1 addition & 0 deletions mkdocs.yml
Expand Up @@ -33,6 +33,7 @@ pages:
- 'Customizing Docker Images': 'users/extend/customizing-images.md'
- 'Custom Commands': 'users/extend/custom-commands.md'
- 'In-container Configuration': 'users/extend/in-container-configuration.md'
- 'Custom TLS Certificates': 'users/extend/custom-tls-certificates.md'
- 'Integration with Hosting Providers':
- 'Pantheon': 'users/providers/pantheon.md'
- 'DDEV-Live': 'users/providers/DDEV-Live.md'
Expand Down

0 comments on commit 13105a1

Please sign in to comment.