This is my setup;
var api = new ParseServer({
publicServerURL: `http://localhost:1337/parse`,
emailAdapter: {
module: '@parse/simple-mailgun-adapter',
options: {
fromAddress: '[email protected]',
domain: '[email protected]',
apiKey: '',
}
}
})
Now, because I’m using a load balancer that forwards traffic between 3 parse servers, I want to keep using localhost
as my server URL, so when the time comes and I need to add another parse server, I can do it from a snapshot of this server without the need to configure anything!
The thing is when a user requests a password reset, it obviously fails because part of the link is localhost
. My question is, is it possible to somehow redirect that request to another parse server?