I figured it out, I just put my sites name in the proxy pass so it looks like this: location ~ \.php$ { proxy_pass http://mysite.com:80; } And it's port 80 because I'm testing this on a live site to see if I can find errors, so my next mission is getting mod rewrite to work.by goldcard - How to...
I've spent a lot of hours being stuck, see the thing is that Nginx works with images and javascript, css and all static files great. Now the problem arises when I try to get Nginx to use Apache to serve php files. Nginx just refuses to allow Apache to server php files. note: I have my actual site url where it says mysite.com. I also must note that this still happens when nginx is listening on portby goldcard - How to...