Skip to content

Commit 4fa5256

Browse files
committed
conf clean
1 parent 41abc76 commit 4fa5256

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

conf/nginx.conf

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ http {
6767
ndg_footer "\n";
6868
}
6969

70-
location /sub {
71-
ndg_subrequest_loc "/hello";
72-
ndg_subrequest_args "chrono";
70+
#location /sub {
71+
# ndg_subrequest_loc "/hello";
72+
# ndg_subrequest_args "chrono";
7373

74-
add_header x-rtt $rtt;
75-
ndg_footer "\n";
76-
}
74+
# add_header x-rtt $rtt;
75+
# ndg_footer "\n";
76+
#}
7777

7878
location / {
7979
root html;
@@ -93,19 +93,19 @@ http {
9393
#}
9494

9595
#upstream block
96-
upstream backend{
97-
ndg_load_balance;
98-
server 127.0.0.1:2017;
99-
#server localhost:88;
100-
}
96+
#upstream backend{
97+
# ndg_load_balance;
98+
# server 127.0.0.1:2017;
99+
# #server localhost:88;
100+
#}
101101

102102
#upstream proxy pass
103-
server {
104-
listen 8080;
105-
server_name localhost;
103+
#server {
104+
# listen 8080;
105+
# server_name localhost;
106106

107-
location / {
108-
ndg_upstream_pass backend;
109-
}
110-
}
107+
# location / {
108+
# ndg_upstream_pass backend;
109+
# }
110+
#}
111111
}

0 commit comments

Comments
 (0)