프록시를 통한 실제 IP가 더 이상 인식되지 않음

예전처럼 게시글을 올리고 반응들을 보면 비슷한 다른 글들을 찾는 데 도움이 됩니다. :rofl: 예를 들면

감사합니다 여러분! 이제 컨테이너의 nginx에서 set_real_ip_from을 설정하러 갑니다!

다만 RFC1918 전체 공간을 설정할 예정입니다. 다른 분들을 위해 참고용으로 공유하면 다음과 같습니다:

after_bundle_exec:
  - replace:
    filename: /etc/nginx/conf.d/discourse.conf
    from: "types {"
    to: |
      set_real_ip_from 192.168.0.0/16;
      set_real_ip_from 172.16.0.0/12;
      set_real_ip_from 10.0.0.0/8;
      real_ip_recursive on;
      real_ip_header X-Forwarded-For;
      types {