From 4550bd59292fe2c4fb89c2d93b2607892b4f75a4 Mon Sep 17 00:00:00 2001 From: Tom Noogen Date: Tue, 8 Aug 2017 18:46:31 -0500 Subject: [PATCH] remove experimental unsecure echo service --- files/etc/nginx/sites-enabled/server.conf | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/files/etc/nginx/sites-enabled/server.conf b/files/etc/nginx/sites-enabled/server.conf index 3139e0b..4e09209 100644 --- a/files/etc/nginx/sites-enabled/server.conf +++ b/files/etc/nginx/sites-enabled/server.conf @@ -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";