Closed UmanShahzad closed 5 years ago
Deployed to: http://staging.quran.com:32835
http://staging.quran.com:3000/api/v3/chapters
https://staging.quran.com/api/api/v3/chapters
Both are valid URIs. The first api
in pathname is mapping to api server in the nginx. Second api
is used for actual routing to api module in rails app. I know bit confusing but both http and https are supported.
Trying to test the app locally, ran immediately into a couple errors.
staging.quran.com
seems to not support HTTPS anymore? Switched to HTTP. Presumably there's no private details here so it's not the worst thing, but having HTTPS again would be nice.api/
to the path, so we'd get a URL likeapi/api/v3/etc
. All callers already includeapi/
in their HTTP request path: