Skip to content

Commit 4550bd5

Browse files
committed
remove experimental unsecure echo service
1 parent 8e0dfac commit 4550bd5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

files/etc/nginx/sites-enabled/server.conf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,6 @@ server {
7676
return 200 "OK";
7777
}
7878

79-
location ~* ^/echo {
80-
default_type text/plain;
81-
set $mybody $arg_body;
82-
83-
if ($http_x_echo_body) {
84-
set $mybody $http_x_echo_body;
85-
}
86-
87-
if ($arg_callback) {
88-
return 200 '$arg_callback($mybody);';
89-
}
90-
91-
return 200 $mybody;
92-
}
93-
9479
location ~* ^/rx/([^\/]+)/(.*) {
9580
set $myargs "$1";
9681
set $protocol "http";

0 commit comments

Comments
 (0)