Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove X-Real-IP to keep rails from blowing up

  • Loading branch information...
commit cf49964f5f39aff97764843308bebf60c84508fa 1 parent 7dea9d0
@evanphx evanphx authored
Showing with 0 additions and 2 deletions.
  1. +0 −1  nginx/rubygems-ssl.conf
  2. +0 −1  nginx/rubygems.conf
View
1  nginx/rubygems-ssl.conf
@@ -31,7 +31,6 @@ server {
location / {
proxy_set_header X-FORWARDED_PROTO https;
- proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For proxy_add_x_forwarded_for;
proxy_set_header Host rubygems.org;
View
1  nginx/rubygems.conf
@@ -28,7 +28,6 @@ server {
location / {
proxy_set_header X-FORWARDED_PROTO http;
- proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For proxy_add_x_forwarded_for;
proxy_set_header Host rubygems.org;
proxy_pass http://b1.rubygems.org;
Please sign in to comment.
Something went wrong with that request. Please try again.