Mojoliciousã®ãªãã¼ã¹ãããã·ã®SSLã®æ¤ç¥æ¹æ³ãå¤ããã¾ã
ãMojoliciousã®ãªãã¼ã¹ãããã·ã§ã®SSLã®æ¤ç¥æ¹æ³ãå¤ããã¾ãããªãã¼ã¹ãããã·ã使ã£ã¦ããã¤SSLã§éç¨ãã¦ããæ¹ã¯ãã¼ã¸ã§ã³ã¢ããã«æ³¨æã§ãããã¼ã¸ã§ã³ã移ãã¨ãã¯ä¸¡æ¹è¨è¿°ãã¦ããã¼ã¸ã§ã³ã¢ããå¾ã«ãå¤ãæå®æ¹æ³ãåãã¾ãããã
<VirtualHost *:443> ServerName localhost <Proxy *> Order deny,allow Allow from all </Proxy> ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:8080/ keepalive=On ProxyPassReverse / http://localhost:8080/ # å¤ãæå®æ¹æ³ RequestHeader set X-Forwarded-HTTPS "1" # æ°ããæå®æ¹æ³ RequestHeader set X-Forwarded-Proto "https" </VirtualHost>