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

Quote:
Originally Posted by HvG Community View Post
Code:
  
location /sourcebans{
    proxy_pass http://127.0.0.1:8080;
    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 06:38.
SpirT is offline