-
Notifications
You must be signed in to change notification settings - Fork 235
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
codebird-cors-proxy not working with nginx server #230
Comments
This is our configuration for nginx, if it helps;
|
Hi @joshuaatkins , Thanks for your response. I have updated the nginx config with your rewrite rules. still, I am getting the same 405 error. I am using this with angular it still fails in the options request with 405 status. |
@joshuaatkins Something for your debugging. |
@chinna-magapu did you manage to solve this? I am happy to pick back up if not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am trying to implement the codebird-cors-proxy in nginx server. But it was not working
I ahve added
cb.setProxy('https://twitterproxy.sample.xyz');
and the request token api
https://twitterproxy.sample.xyz/oauth/request_token is getting 403 ( access is forbidden) and then I have updated the nginx config with the below code
`# nginx configuration
location / {
rewrite ^/$ http://www.jublo.net/ redirect;
rewrite ^(.*)$ /codebird-cors-proxy.php break;
}`
hen the api url getting 405 error but its not working at all in my case.
can anyone suggest me where I am missing to make it work.
Thanks in Advance.
The text was updated successfully, but these errors were encountered: