0

I'm trying to set up Nginx to serve CodeIgniter as per the official docs: https://www.nginx.com/resources/wiki/start/topics/recipes/codeigniter. The problem is, I have no clue what the directive fastcgi_pass 127.0.0.1:9000 is supposed to do. I mean, there's nothing running on port 9000 on my machine (or is there? How can I be sure?). How do I set this up?

ankush981
  • 257
  • 2
  • 4
  • 11

1 Answers1

2

The fastcgi_pass 127.0.0.1:9000 is a directive that lets NGINX know that it has to pass the requests to the PHP Fast CGI processor. For this directive to work you will have to install the PHP-FPM module and configure it.

sridhar pandurangiah
  • 763
  • 2
  • 11
  • 29