M
M
mpotemkin2015-02-05 18:29:53
PHP
mpotemkin, 2015-02-05 18:29:53

When sending a POST request to php, the Nginx script gives a 404 or 502 error. Why?

There is a php script on nginx that receives data via a POST request. But when sending a POST request to php, the Nginx script gives a 404 or 502 error.
Has anyone experienced this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2015-02-05
@BuriK666

see error_log

I
Igor, 2015-02-05
@merryjane

Show me the nginx config. What does php handle? Are there any rewrites?
Enable debugging in the nginx logs and in the logs of what php handles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question