Welcome! Log In Create A New Profile

Advanced

from apache to nginx - new at nginx

Posted by Blisk 
from apache to nginx - new at nginx
April 29, 2022 05:25AM
I am trying to install on my server mail server and forum.
For forum I use vanilla but it doesn't work on apache so I have installed nginx.
Also I need mail server so I have installed iredmail. But I see iredmail use proxy and templates until vanilla nginx conf file.
I just can't combine those two to work together. It works one or other but not both together.
any help how to do it?
here are settings

nginx -T
https://privatebin.povej.net/?9d29774ce2fb89af#DNtwG7Q5e3FSNz2yJ4nx65HHHgPXPmTPYnwart4xJuYk

and this is vanilla forum nginx conf file
https://privatebin.povej.net/?2e882a788c0c02fd#H4ZXCywMtPwTYQEdrfaAhs5CotjSZdhqLKvqFS8PUWg9
Re: from apache to nginx - new at nginx
April 29, 2022 12:16PM
I solved this by changing first line to second one
fastcgi_pass unix:/var/run/php-fpm/www.sock;
fastcgi_pass 127.0.0.1:9999;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready