Skip to content

Commit ad86eb0

Browse files
committed
remove other secrions
1 parent b59aba3 commit ad86eb0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docker/nginx/nginx-plain-tls.conf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ events {
99
}
1010

1111
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-
2012
server {
2113
listen 8080 ssl;
2214

@@ -27,8 +19,6 @@ http {
2719
ssl_session_cache off;
2820
ssl_session_tickets off;
2921

30-
server_name _;
31-
3222
access_log off;
3323
error_log stdout info;
3424

@@ -37,11 +27,5 @@ http {
3727
return 200 'Hello World!';
3828
add_header Content-Type text/plain;
3929
}
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-
}
4630
}
4731
}

0 commit comments

Comments
 (0)