# How to use FIDO2 with Discourse behind a reverse proxy?

**URL:** https://meta.discourse.org/t/how-to-use-fido2-with-discourse-behind-a-reverse-proxy/291071
**Category:** Self-hosting
**Created:** [January 9, 2024, 8:07pm 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:** 12

<div class="post-metadata">

### Author: ![JonahAragon1](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@JonahAragon1](https://meta.discourse.org/u/JonahAragon1)
#### Post date: [January 9, 2024, 9:01pm UTC](https://meta.discourse.org/t/how-to-use-fido2-with-discourse-behind-a-reverse-proxy/291071/12 "2024-01-09T21:01:15Z")

</div>

Ah, that _is_ set to an `http://` URL (with the correct hostname). I’m using the setup described here to make Discourse accessible to Cloudflare Tunnel:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

---

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