Open fiqahalim opened 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; } }
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; } }