-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse proxy requests to api.parse.com allowing for early client migration? #137
Comments
I'm not sure about the SDKs but I would recommend setting up an API gateway for more flexibility. |
I have done it on my app and works fine |
@JcMinarro could you provide some details of your implementation? |
👍 would be super helpful to us and others if you can provide the config or some other info |
I have use nginx. Config is the next:
|
Thanks for the info @JcMinarro! This sounds like a great way to get a new version of you app out early so you can be ready to switch while you verify that your app still works with parse-server. |
@JcMinarro thanks for the info. You might want to set proxy headers such as originating IP and such as well. |
Sorry to be late to this party, but if you want your proxy new API URL to reflect your future parse-server URL for example https://api.example.com/parse you will need a config something more like this if using Nginx:
I highly recommend using secure HTTPS communication. If you need a free cert, you can use Let's Encrypt. |
This is an exploratory question in case someone here has already done this.
Is it possible to run nginx and rewrite api.mydomain.com to api.parse.com and push out new app versions with that?
This would become a Step 0 to the excellent migration guide, allowing for me to move my mobile clients to a domain I control before performing the Mongo migration and using this package to host my own backend?
Will api.parse.com and the (latest) clients SDKs be happy with that?
The text was updated successfully, but these errors were encountered: