Shopify / toxiproxy

:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing
https://github.com/shopify/toxiproxy
MIT License
10.82k stars 449 forks source link

Hosting toxiproxy in HTTPS #286

Open sbose20 opened 4 years ago

sbose20 commented 4 years ago

We want to install Toxiproxy but as a HTTPS Proxy. Will be there any support for hosting the toxiproxy in https. In our test environment we can't host any service with http. Any suggestion will help.

miry commented 3 years ago

Hi @sbose20. Sorry for long reply.

There was recent changes, that were not released yet: https://github.com/Shopify/toxiproxy/pull/338 It would allow to communicate with Toxiproxy API through HTTPS.

It would still require to setup some Web Reverse Proxy with HTTPS in front of Toxiproxy servers. Would it work for you use case?

AnuradhaBose commented 2 years ago

Hi, Is it possible to access the ToxiProxy APIs in https now? I am trying to access https://localhost:8474/proxies, is this possible? If yes, are there any additional steps that are needed?

miry commented 2 years ago

@AnuradhaBose It is possible to access Toxiproxy API via HTTPS. Released in v2.3.0

https://github.com/Shopify/toxiproxy/pull/338/files

It would require to run Nginx or other reverse proxy with HTTPS in front of Toxiproxy.