senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. ボン太くん(小4) (xps2@mastodon.home.js4.in)'s status on Sunday, 19-Aug-2018 23:22:22 JST ボン太くん(小4) ボン太くん(小4)

    ELB->nginx->mastodonの構成でProduction Guide通りのnginx設定でセキュリティページはclientのIPが表示されてたけど、CloudFlare->nginx->mastodonだとCloudflareのIPが表示されてしまうなぁ…
    nginxでset_real_ip_fromにCLoudflareのIPを指定してX-Forwarded-Forの値に書き換えればclient IPはセキュリティページに表示されるけど、remote_addrは書きかわってしまうのでnginxのログにはCloudflareのどのIPから来たかわからなくなるんだよなぁ?

    In conversation Sunday, 19-Aug-2018 23:22:22 JST from mastodon.home.js4.in permalink
    • ボン太くん(小4) (xps2@mastodon.home.js4.in)'s status on Sunday, 19-Aug-2018 23:30:33 JST ボン太くん(小4) ボン太くん(小4)
      in reply to

      $realip_remote_addrに$remote_addr書き換え前の値が入るようなのでそれをログに出力して解決

      In conversation Sunday, 19-Aug-2018 23:30:33 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.