-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
www shows stats api down #65
Comments
Because I guess you missed port. |
What do you mean missed port? I don't see anywhere in the environment.js to add a port for the domain. Do you mean a different configure file? If so what and where?
}; Thanks |
I meant port on which API is listening for requests. By default it's 8080 if you didn't set up nginx upstream for it. |
I put the upstream in the nginx exactly like the read me example shows. |
So make sure you can access |
Yes, I can access /api/stats from mydomain.com/api/stats eveything works fine at mydomain.com |
So don't include it or fix subdomain configuration in web server. |
Hi Sammy,
In the read me you have
"Change ApiUrl: '//example.net/' in www/config/environment.js to match your domain name. "
I have changed that to my //mydomainname.com/ however if I go to www.mydomainname.com (when you add the www) it shows the "stats api down".
What do I need to do to make it work for both?
Thanks
The text was updated successfully, but these errors were encountered: