echo-nginx-module icon indicating copy to clipboard operation
echo-nginx-module copied to clipboard

content_handler should work also on TLS webserver

Open andreasschulze opened this issue 4 years ago • 0 comments

consider this /echo.inc:

location {
  default_type text/plain; 
  echo_duplicate 1 $echo_client_request_headers;
  echo "\r";
  echo_read_request_body;
  echo_request_body; 
  echo_flush;
}
server {
  listen *:80;
  include /echo.inc;
}
server {
  listen *:443 ssl http2;
  ssl_certificate /cert.pem;
  ssl_certificate_key /key.pem;
  include /echo.inc;
}

the expected result happen only on port HTTP but not on HTTPS

andreasschulze avatar Oct 23 '20 21:10 andreasschulze