-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Cloudpanel - NGINX - Google Reader API Problem #6424
Comments
I'm experiencing the same issue on a fresh install, if that helps (nginx and sqlite in my case) |
Could you try manually with cURL to get a better understanding of the requests? curl -v 'https://freshrss.example.net/api/greader.php'
curl -v 'https://freshrss.example.net/api/greader.php/accounts/ClientLogin?Email=alice&Passwd=Abcdef123456' |
nginx is very error-prone. Try to use exactly the configuration from our documentation: In particular, I have a suspicion that |
In my case it doesn't 404: the first leads to a 200, the second does this
|
With what response, more precisely? |
obscured IP and domain, and left out some cloudflare headers but other than that
|
@cedmax Your request does not seem to be hitting the rights files. Likely wrong nginx config. In particular, if you use something similar than the config posted higher up, the Try to put a new file in <?php
echo 'Hello World', "\n"; And access to access it via curl: curl -v 'https://freshrss.example.net/api/hello.php' |
this seems to be working just fine 🫠
EDIT
|
Hum, try to uncomment the following two lines: Lines 1005 to 1006 in 8e3bfa1
Edit: set try the two curl queries again, and then check your logs in as well as your Web server logs |
Following your suggestion of the problem being narrowed to the nginx config (which I'm not extremely familiar with), I tried to serve it with apache instead (not sure why I haven't tried before tbh) and it seems to be working just fine with it. I think that's all I need for now, thank you for your support and sorry for the back and forth not being very helpful at times, I really appreciate your help! |
Great that it works. Apache is a good choice |
Describe the bug
Probably similar to #5856 but with a twist so I don't want to dilute that issue and opened a new.
Due to performance issue I moved from my old Apache vps (hestiaCP) to CloudPanel and webside things are much better.
However, I'm stuck with the NGINX vhost config for freshrss.
The Web works flawless and blazing fast and for the API I see fever good and greader 404.
I looked into https://freshrss.github.io/FreshRSS/en/admins/10_ServerConfig.html#nginx-configuration and my vhosts looks now like this
Now I'm out of ideas.
Would anyone have an idea how to get the API going, please?
To Reproduce
Nothing helpful here.
Configure domain under cloudpanel / nginx
Expected behavior
No response
FreshRSS version
1.23.1
Environment information
-Web server type: nginx
Additional context
No response
The text was updated successfully, but these errors were encountered: