Skip to content

Commit 05f5473

Browse files
committed
include proxy snippet
1 parent b94b7f8 commit 05f5473

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
location /api/if/ {
22
proxy_pass https://if/api/if/;
3-
proxy_set_header Host $host;
4-
proxy_set_header X-Real-IP $remote_addr;
5-
proxy_set_header X-Original-URI $request_uri;
6-
proxy_ssl_protocols TLSv1.3;
7-
proxy_next_upstream error timeout http_500;
3+
include snippets/common/proxy-defaults.conf;
84
}

0 commit comments

Comments
 (0)