Issues nginx (config)
November 06, 2013 03:03AM
I'm having issues setting up my FreeBSD server with nginx. I always had Apache and recently changed to nginx. I followed this tutorial to get 1 Wordpress website up- en running: http://forums.freebsd.org/showthread.php?t=30268 (that worked like a charm).

The nginx.conf (which worked) is:

http://pastebin.com/kJevGHjj

Now I need to have more websites (multiple Wordpress sites and Prestashop). So I splitted up the nginx.conf and created sites-available/sites-enabled (and the symlink).

This is my nginx.conf:

http://pastebin.com/HJ80bPiX


And for Prestashop:

http://pastebin.com/2RxjajVm

But I'm having issues all the time, tried to look for other examples in nginx, treid to check all the rules but I'm having or a blank page (Prestashop) or a working Wordpress with a bricked layout (no background, just the text in a strange layout).

Yes, it's listening @ unix:/var/run/php-fpm.sock.

What could this be? I'm no PHP hero (nor nginx). Rewrite rules? Wrong config?

Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready