moodle-webservice_restful
moodle-webservice_restful copied to clipboard
Working with rest behind haproxy
I am trying to work with restful behind haproxy version 2.4 but i am getting the error
{"exception":"moodle_exception","errorcode":"noauthheader","message":"No Authorization header found in request sent to Moodle"}
This is probably because Haproxy is not forwarding the header to moodle!! Tried adding the header in the backend configuration but still not getting the solution
http-request set-header Authorization "HHHhdasdashdahs88832422hhththadas"
This doesnt seem to solve the issue. A solution to this would be appreciated