From 6ebedbeca39a9401c99b7820258ce49380f1cb1d Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Sat, 17 Feb 2024 15:57:31 +0000 Subject: [PATCH] feat(profiles): Ajout de profiles pour les proxy --- profiles/proxy/proxy-http.yaml | 7 +++++++ profiles/proxy/proxy-https.yaml | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 profiles/proxy/proxy-http.yaml create mode 100644 profiles/proxy/proxy-https.yaml diff --git a/profiles/proxy/proxy-http.yaml b/profiles/proxy/proxy-http.yaml new file mode 100644 index 0000000..f9d501a --- /dev/null +++ b/profiles/proxy/proxy-http.yaml @@ -0,0 +1,7 @@ +name: proxy-http +description: Proxify http traffic to the instance +devices: + hostport80: + type: proxy + listen: tcp:0.0.0.0:80 + connect: tcp:127.0.0.1:80 diff --git a/profiles/proxy/proxy-https.yaml b/profiles/proxy/proxy-https.yaml new file mode 100644 index 0000000..dae72ce --- /dev/null +++ b/profiles/proxy/proxy-https.yaml @@ -0,0 +1,7 @@ +name: proxy-https +description: Proxify https traffic to the instance +devices: + hostport443: + type: proxy + listen: tcp:0.0.0.0:443 + connect: tcp:127.0.0.1:443