• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nginx server install

#1
Hello!

What rules should I use for nginx server?
Reply

#2
Basics rules you can check: 
https://www.nginx.com/resources/wiki/sta...deigniter/

But basically it's should be that in your default config: 
Code:
root /var/www/project/public/;

Code:
        location ~ \.php$ {
                fastcgi_param CI_ENVIRONMENT "development";
                include snippets/fastcgi-php.conf;
                fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        }
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.