Commit Graph

4 Commits (757923bbc4a1e3db75f67b5bd418f45c6d37a3a4)

Author SHA1 Message Date
Juan Navarro 162871a7dd deployment: change IP discovery script to match mediasoup-controller
Change the script (error checking, code style, etc) to match the one
used in openvidu-mediasoup-controller, so both are easier to maintain.

* Relevant change: use wget (leaner, faster) instead of curl.
* All others are minor changes.
2021-12-24 16:05:41 +01:00
cruizba 3a59b7b921 deployment: Try to autodiscover Public IP via HTTP if DNS outgoing traffic is not enabled 2021-12-24 14:17:51 +01:00
cruizba 6a73083e7b openvidu-deployment: General updates in nginx and public ip discovering:
- Add option to redirect www to non-www (REDIRECT_WWW).
- Add endpoint to check nginx workers.
- Custom virtual hosts (Server blocks) can be added by the user to create custom rules in `/opt/openvidu/custom-nginx-vhost`.
- Parametrize `worker_connections` in nginx.conf (WORKER_CONNECTIONS)
- Improve `discover_my_public_ip.sh` to use dns servers instead of http servers
- Posibility to autodiscover ipv6 if available by using `PUBLIC_IP=auto-ipv6` in nginx, `TURN_PUBLIC_IP=auto-ipv6` in coturn and `COTURN_IP=auto-ipv6` in openvidu-server.
By default ipv4 is used.
2020-11-02 19:46:59 +01:00
pabloFuente 3bebe99ee5 Docker build: single discover_my_public_ip.sh script 2020-05-05 18:30:38 +02:00