I have wordpress running behind nginx reverse proxy.
Home etc works fine but when user goes to url with .php ending, I'm getting 404 File not found.
error.
Here is related nginx configuration:
location /en/us/ {
proxy_pass https://10.0.10.11/en/us/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
}