Anything I should concern when using catch all server_name on nginx

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer