Support multiple domains and redirect only on specific ones

Since some versions we have NUXT_PUBLIC_ROOT_REDIRECT_URL which is great, until now I had been using my reverse proxy to 404 certain routes, the thing is that (as I was doing with the reverse proxy) I only want the redirection to happen on certain domains, say if I enter forms.mypublicdomain.com I want the redirection/block to be performed but if I enter opnform.mylocal.arpa I want nothing to be blocked.

Unfortunately opnform only supports one domain, entering opnform through others doesn’t fully work because we get CORS errors

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

πŸ’‘ Feature Request

Date

4 months ago

Author

parasiteoflife

Subscribe to post

Get notified by email when there are changes.