Anything I should concern when using catch all server_name on nginx

Posted September 8, 2018 1.5k views
Ruby on RailsNginxUbuntu 16.04

I have Rails website where I want to enable my users to choose their custom domain and point to my website.

I search and I found that I can declare catch app server block

server {
server_name _;

Is this the right way to do support dynamic custom domain? Anything I should concern regarding security, performance, etc.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!