fiqahalim / erp

Cellaax ERP System
https://erp.myservices.my/
MIT License
0 stars 0 forks source link

Setup Nginx Conf File #18

Open fiqahalim opened 1 year ago

fiqahalim commented 1 year ago

server { listen 80; listen [::]:80; server_name spora-admin.local; root /var/www/spora-admin/public; index index.html index.htm index.nginx-debian.html index.php; access_log /var/log/nginx/spora-admin.local_access.log; error_log /var/log/nginx/spora-admin.local_error.log error; location / { try_files $uri $uri/ /index.php?$args; } # pass PHP scripts to FastCGI server # location ~ .php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; } }