使ãæ¹ã¨ãã¦ã¯ ruby script/plugin install http://dev.rubyonrails.org/svn/rails/plugins/ssl_requirement/ ãã¨ãcontroller/application.rbã« include SslRequirement ã¨ãã¦ããã¨ä¾¿å©ã ã¨ãã¦ãsslãä½ç¨ããããactionãããcontrollerã« ssl_required :show, :create ã¨æ¸ãã°ããã®pageãsslã«é£ãã§ããã¾ãã(302ã§ç§»åã) apacheã®å ´åã¯httpd.confã®443å´ã« RequestHeader set X_FORWARDED_PROTO 'https' ã¨å ¥ãã¦ããã¨è¯ããã¨ã
{{#tags}}- {{label}}
{{/tags}}