| Summary: | need proxy_set_header with proxy_pass! | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Michael Shigorin <mike> |
| Component: | nginx | Assignee: | Anton Farygin <rider> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | placeholder, rider |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
|
Description
Michael Shigorin
2007-04-05 15:11:19 MSD
Поправочка, полная сюита выглядит так:
# cooperate with mod_realip in apache-1.3 or mod_rpaf in apache-2.x
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
и в таком виде заводится с наличествующей в apache-1.3 конфигурацией mod_realip
без дополнительных исканий.
Добавь заремаренной pls.
ушло в incoming/ tnx :) |