Skip to content

Security configuration for application that runs on multiple domains #519

Answered by Gonzo17
Gonzo17 asked this question in Q&A
Discussion options

You must be logged in to vote

But maybe you could use the Nuxt Runtime Config to provide differetnt configuration for different domains?

That's what I meant with "one frontend instance per domain", it would be possible for sure. Regarding the architecture and scaling that doesn't feel very good.

I would say that having one CSP for all is a good choice. It will help you avoid multiple different configurations and a need to update several configs if you start using another third party globally (like an digital asset management for example).

I think that will be my approach. In the end, I guess only 2-3% of the configuration will be domain-specific, the rest should be the same for all domains.

I thought about a new f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gonzo17
Comment options

Answer selected by Baroshem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants