<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>11368</bug_id>
          
          <creation_ts>2007-04-05 15:11:19 +0400</creation_ts>
          <short_desc>need proxy_set_header with proxy_pass!</short_desc>
          <delta_ts>2007-08-30 17:56:49 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>nginx</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>placeholder</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47954</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-04-05 15:11:19 +0400</bug_when>
    <thetext>Следует добавить в пример конфигурации nginx подобное около proxy_pass:

proxy_set_header   X-Real-IP        $remote_addr;
proxy_set_header   X-Forwarded-For  $remote_addr;

-- иначе многие будут недоумевать по поводу статистики.

Это довольно настоятельный FR...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47960</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-04-05 15:33:42 +0400</bug_when>
    <thetext>Поправочка, полная сюита выглядит так:

# 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49690</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2007-04-30 03:42:49 +0400</bug_when>
    <thetext>ушло в incoming/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54635</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-08-30 17:56:49 +0400</bug_when>
    <thetext>tnx :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>