File tree 1 file changed +18
-18
lines changed 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ http {
67
67
ndg_footer "\n" ;
68
68
}
69
69
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";
73
73
74
- add_header x-rtt $rtt ;
75
- ndg_footer "\n" ;
76
- }
74
+ # add_header x-rtt $rtt;
75
+ # ndg_footer "\n";
76
+ # }
77
77
78
78
location / {
79
79
root html;
@@ -93,19 +93,19 @@ http {
93
93
#}
94
94
95
95
#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
+ # }
101
101
102
102
#upstream proxy pass
103
- server {
104
- listen 8080 ;
105
- server_name localhost;
103
+ # server {
104
+ # listen 8080;
105
+ # server_name localhost;
106
106
107
- location / {
108
- ndg_upstream_pass backend;
109
- }
110
- }
107
+ # location / {
108
+ # ndg_upstream_pass backend;
109
+ # }
110
+ # }
111
111
}
You can’t perform that action at this time.
0 commit comments