From 1e9b2436eaffa4130f6a69c3a108f6feb9dd4ac8 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 22 Feb 2025 18:11:35 +0800 Subject: feat(services): refactor structure. --- services/templates/nginx/common/proxy-common | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 services/templates/nginx/common/proxy-common (limited to 'services/templates/nginx/common/proxy-common') diff --git a/services/templates/nginx/common/proxy-common b/services/templates/nginx/common/proxy-common new file mode 100644 index 0000000..4193548 --- /dev/null +++ b/services/templates/nginx/common/proxy-common @@ -0,0 +1,7 @@ +proxy_http_version 1.1; +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $connection_upgrade; +proxy_set_header Host $host; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +proxy_set_header X-Forwarded-Proto $scheme; +proxy_set_header X-Real-IP $remote_addr; -- cgit v1.2.3