I have a site that has dynamic subdomains with a nginx reverse proxy. So in each request Nuxt renders the site with the local URL (http://localhost:3001), so I have to set the domain in the config app.cdnURL, the problem here is that the subdomain needs to be dynamic by the request (Like from the origin header), so I have no idea how to set this variable dynamically.
Already tried with modules and plugins, but none worked. Does anyone knows how to fix this?, Thanks.
I have a site that has dynamic subdomains with a nginx reverse proxy. So in each request Nuxt renders the site with the local URL (http://localhost:3001), so I have to set the domain in the config ...