openresty / echo-nginx-module

An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config file
http://wiki.nginx.org/NginxHttpEchoModule
BSD 2-Clause "Simplified" License
1.16k stars 255 forks source link

Echo is in the nginx configuration but what happens if there is no output? #79

Open nailsoul opened 6 years ago

nailsoul commented 6 years ago

location / { echo "haha"; proxy_pass http://www.xxxxx.net; proxy_redirect off; proxy_set_header Host www.xxxxx.net; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }

Access. log and error.log and HTTP response are not available. What should haha do to display?

nailsoul commented 6 years ago

nginx version is 1.140 echo-nginx-module version is 0.61 rc1