File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,6 @@ events {
9
9
}
10
10
11
11
http {
12
-
13
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
14
-
15
- upstream backend {
16
- server DOWNSTREAM_ADDRESS:DOWNSTREAM_PORT;
17
- keepalive 1024; # more than twice the number of client connections, since warmup will already reserve a set
18
- }
19
-
20
12
server {
21
13
listen 8080 ssl;
22
14
27
19
ssl_session_cache off;
28
20
ssl_session_tickets off;
29
21
30
- server_name _;
31
-
32
22
access_log off;
33
23
error_log stdout info;
34
24
@@ -37,11 +27,5 @@ http {
37
27
return 200 'Hello World!';
38
28
add_header Content-Type text/plain;
39
29
}
40
-
41
- location / {
42
- proxy_pass DOWNSTREAM_SCHEME://backend;
43
- proxy_http_version 1.1;
44
- proxy_set_header Connection ""; # Remove the Connection header if the client sends it, we don't want to close the upstream connection
45
- }
46
30
}
47
31
}
You can’t perform that action at this time.
0 commit comments