# 리버스 프록시 뒤의 Discourse에서 FIDO2를 사용하는 방법?

**URL:** <https://meta.discourse.org/t/how-to-use-fido2-with-discourse-behind-a-reverse-proxy/291071>\
**Category:** Self-hosting\
**Created:** [1월 9, 2024, 8:07오후 UTC](https://meta.discourse.org/t/how-to-use-fido2-with-discourse-behind-a-reverse-proxy/291071 "2024-01-09T20:07:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [1월 9, 2024, 8:54오후 UTC](https://meta.discourse.org/t/how-to-use-fido2-with-discourse-behind-a-reverse-proxy/291071/8 "2024-01-09T20:54:40Z")

</div>

네, 즉 서버가 브라우저가 요청하는 호스트네임과 일치하지 않는다고 판단하고 있다는 뜻입니다. 보안 키/패스키 생성 절차에서는 브라우저의 호스트네임이 서버의 호스트네임과 일치하는지 확인해야 합니다(키는 호스트네임별로 생성됩니다).

Rails 콘솔에 로그인하여 `Discourse.current_hostname`의 출력값을 확인해 볼 수 있을까요? 사이트 접근에 사용하는 URL과 일치하지 않는다면, 그것이 문제의 원인이 됩니다.

---

_[View the full topic](https://meta.discourse.org/t/how-to-use-fido2-with-discourse-behind-a-reverse-proxy/291071)._
