https://github.com/ddev/ddev-proxy-support
Support HTTP/HTTPS proxies with DDEV (obsolete)
https://github.com/ddev/ddev-proxy-support
ddev-get
Last synced: about 1 year ago
JSON representation
Support HTTP/HTTPS proxies with DDEV (obsolete)
- Host: GitHub
- URL: https://github.com/ddev/ddev-proxy-support
- Owner: ddev
- License: apache-2.0
- Created: 2022-07-15T22:42:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T13:59:14.000Z (over 1 year ago)
- Last Synced: 2024-10-25T17:02:03.116Z (over 1 year ago)
- Topics: ddev-get
- Language: Shell
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ddev/ddev-proxy-support/actions/workflows/tests.yml) 
# DDEV Proxy support (Archived, see DDEV Docs)
**This add-on is now archived.**
**Configuring proxy support for DDEV and Docker is not hard, but it does require more than the simple approach shown here. Please see [DDEV Networking](https://ddev.readthedocs.io/en/latest/users/usage/networking/). (You don't really have to do anything for DDEV, but you do have to configure Docker to get everything working.)**
To install this, install and restart:
```sh
ddev add-on get ddev/ddev-proxy-support && ddev restart
```
It installs a docker-compose.proxy.yaml and pre.Dockerfile.proxy-support which add proxy capabilities to DDEV v1.19.5+
With this setup you should be able to use `webimage_extra_packages` against a proxy, and you should also be able to `ddev ssh` into the web container and use curl and see it using the proxy. `curl -v -I ` is a good test. See also the [tests](tests/test.bats).
# Testing
Details about how to lab-test this are in [Lab-testing a proxied environment](lab-testing.md).
You can also find public proxies of varying reliability at [spys](https://spys.one/free-proxy-list/US/) and other places, and of course you would never trust them with any traffic, but they're useful for testing.
**Contributed and maintained by [@rfay](https://github.com/rfay) based on the original [ddev-contrib recipe](https://github.com/ddev/ddev-contrib/tree/master/recipes/proxy).**