Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB