openresty / openresty/echo-nginx-module

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

Open
#79 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.2k
Forks
251
Avg merge
1h 24m
Merged PRs (30d)
2

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported location configuration with the echo and proxy directives, then inspect the echo-nginx-module behavior when the proxied response produces no visible output. Compare the HTTP response and access.log/error.log results with the expected behavior described in the issue; done means the behavior is explained or corrected and verified with a focused reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.