From cd5ce7b745a45d73aa8cb51336ca77e57a7fc4dc Mon Sep 17 00:00:00 2001 From: Patrick Kishino Date: Tue, 16 Mar 2021 08:33:33 +0900 Subject: [PATCH] Added simple example to nginx for further services (#1766) --- proxy/nginx.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/proxy/nginx.conf b/proxy/nginx.conf index b81de49b3..2cb0624a4 100644 --- a/proxy/nginx.conf +++ b/proxy/nginx.conf @@ -21,6 +21,18 @@ http { proxy_http_version 1.1; proxy_set_header Connection ""; } + # Add extra locations for other services + # location / { + # proxy_pass http://:; + # proxy_set_header Host $http_host; + # proxy_set_header X-Real-IP $remote_addr; + # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # proxy_set_header X-Forwarded-Proto $scheme; + + # # HTTP 1.1 support + # proxy_http_version 1.1; + # proxy_set_header Connection ""; + # } } }