備忘録。
rack::protection::HttpOriginでattack prevent が出てpost出来なくて困っていて見つけた記事
Rack-protection and Nginx - sourcediver.org
nginxをリバースプロキシとしてアプリケーションサーバーに中継するときは、
nginxのconfigに
proxy_set_header X-Forwarded-Proto $scheme;
を追加することでうまくいった。
備忘録。
rack::protection::HttpOriginでattack prevent が出てpost出来なくて困っていて見つけた記事
Rack-protection and Nginx - sourcediver.org
nginxをリバースプロキシとしてアプリケーションサーバーに中継するときは、
nginxのconfigに
proxy_set_header X-Forwarded-Proto $scheme;