Skip to content

Commit

Permalink
remove experimental unsecure echo service
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Aug 8, 2017
1 parent 8e0dfac commit 4550bd5
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions files/etc/nginx/sites-enabled/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,6 @@ server {
return 200 "OK";
}

location ~* ^/echo {
default_type text/plain;
set $mybody $arg_body;

if ($http_x_echo_body) {
set $mybody $http_x_echo_body;
}

if ($arg_callback) {
return 200 '$arg_callback($mybody);';
}

return 200 $mybody;
}

location ~* ^/rx/([^\/]+)/(.*) {
set $myargs "$1";
set $protocol "http";
Expand Down

0 comments on commit 4550bd5

Please sign in to comment.