Added basic setup for PHP; HTML file for testing added

This commit is contained in:
WilliamMiceli
2019-10-19 15:23:31 -04:00
parent 44962f7d5d
commit ad02eace1c
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
server {
listen 80;
listen [::]:80;
root /var/www;
index index.html;
server_name _;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
}