|
33 | 33 | } |
34 | 34 | proxy_pass $proxpass; |
35 | 35 |
|
36 | | - proxy_set_header X-Real-IP $remote_addr; |
37 | | - proxy_set_header Host $host; |
38 | | - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 36 | + proxy_set_header X-Forwarded-For $remote_addr; |
39 | 37 |
|
40 | 38 | # Cuts off the trailing slash on URLs to make them valid |
41 | 39 | rewrite ^(.+)/+$ $1 permanent; |
|
72 | 70 | } |
73 | 71 | proxy_pass $proxpass; |
74 | 72 |
|
75 | | - proxy_set_header X-Real-IP $remote_addr; |
76 | | - proxy_set_header Host $host; |
77 | | - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 73 | + proxy_set_header X-Forwarded-For $remote_addr; |
78 | 74 |
|
79 | 75 | # Cuts off the trailing slash on URLs to make them valid |
80 | 76 | rewrite ^(.+)/+$ $1 permanent; |
@@ -111,9 +107,7 @@ http { |
111 | 107 | } |
112 | 108 | proxy_pass $proxpass; |
113 | 109 |
|
114 | | - proxy_set_header X-Real-IP $remote_addr; |
115 | | - proxy_set_header Host $host; |
116 | | - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 110 | + proxy_set_header X-Forwarded-For $remote_addr; |
117 | 111 |
|
118 | 112 | # Cuts off the trailing slash on URLs to make them valid |
119 | 113 | rewrite ^(.+)/+$ $1 permanent; |
@@ -150,9 +144,7 @@ http { |
150 | 144 | } |
151 | 145 | proxy_pass $proxpass; |
152 | 146 |
|
153 | | - proxy_set_header X-Real-IP $remote_addr; |
154 | | - proxy_set_header Host $host; |
155 | | - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 147 | + proxy_set_header X-Forwarded-For $remote_addr; |
156 | 148 |
|
157 | 149 | # Cuts off the trailing slash on URLs to make them valid |
158 | 150 | rewrite ^(.+)/+$ $1 permanent; |
@@ -189,9 +181,7 @@ http { |
189 | 181 | } |
190 | 182 | proxy_pass $proxpass; |
191 | 183 |
|
192 | | - proxy_set_header X-Real-IP $remote_addr; |
193 | | - proxy_set_header Host $host; |
194 | | - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 184 | + proxy_set_header X-Forwarded-For $remote_addr; |
195 | 185 |
|
196 | 186 | # Cuts off the trailing slash on URLs to make them valid |
197 | 187 | rewrite ^(.+)/+$ $1 permanent; |
|
0 commit comments