워드프레스에 HTTPS를 적용하면서 .htaccess의 재작성 규칙과 wp-config.php의 설정을 수정했습니다. 앞단 프록시가 넘겨주는 X-Forwarded-Proto 헤더를 보고 HTTPS로 인식하도록 한 것이 핵심입니다.1. .htaccess 수정워드프레스 기본 재작성(rewrite) 규칙입니다.RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]2. wp-config.php 추가사이트 주소를 지정하고, 프록시가 보낸 X-Forwarded-Proto 값이 https이면 ..