View Single Post
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 12-21-2020 , 07:47   Re: [NGINX] Setup config
Reply With Quote #3

Originally Posted by HvG Community View Post
location /sourcebans{
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
That was not the issue, once the proxy pass was already the php socket. The issue was that sourcebans was asking for 5.5 as recommended and I was using 7.4 (the latest at that time). I did some research and find out that the version is too new for sourcebans and that I should downgrade. Therefore I have php 5.6 and 7.4 running on my machine and sourcebans is running with php 5.6 with no errors at all!

Last edited by SpirT; 12-22-2020 at 05:38.
SpirT is offline