File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Nginx Basics keepalive.conf
2
+ # Nov 2024 - Chris Akker, Shouvik Dutta, Adam Currier
3
+ #
4
+ # Default is HTTP/1.0 to upstreams, HTTP keepalives needed for HTTP/1.1
5
+ proxy_http_version 1.1;
6
+
7
+ # Set the Connection header to empty
8
+ proxy_set_header Connection "";
9
+
10
+ # Host request header field, or the server name matching a request
11
+ proxy_set_header Host $host;
Original file line number Diff line number Diff line change
1
+ # Nginx Basics proxy_headers.conf
2
+ # Nov 2024 - Chris Akker, Shouvik Dutta, Adam Currier
3
+ #
4
+ ## Set Headers to the proxied servers ##
5
+
6
+ # client address in binary format
7
+ proxy_set_header X-Real-IP $remote_addr;
8
+
9
+ # X-Forwarded-For client request header
10
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
11
+
12
+ # request scheme, “http” or “https”
13
+ proxy_set_header X-Forwarded-Proto $scheme;
You can’t perform that action at this time.
0 commit comments