search

Home  >  Q&A  >  body text

nginx directory problem?

root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

Can the root directory of the above root html website be configured with any directory on Linux or Mac? ? Or is there a certain range?

高洛峰高洛峰2789 days ago691

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-06-06 09:56:38

    Any directory, there is no so-called scope, just point to the root directory of your project.

    reply
    0
  • 怪我咯

    怪我咯2017-06-06 09:56:38

    Any directory
    You can guess it just by searching on Baidu

    reply
    0
  • Cancelreply