We want to try out Discourse by deploying it on Azure, but restricting access to certain IP ranges, i.e. so that only HTTP requests coming from a certain IP range are answered by Discourse, whereas others only get a 403 or so and do not see any content.
Is there an easy way to configure Discourse in this way?
You could configure firewall stuff on azure to just not respond. You could configure nginx to do the same. Neither really has much to do with Discourse.
What most people do is just turn on the login required site setting and turn off the ability to request accounts.
5 Likes
I configured the Azure virtual machine inbound rules. This did the trick. Thanks!
2 Likes