Files
WMU-CS4430-Project/etc/nginx/conf.d/default.conf
2019-10-19 15:23:31 -04:00

16 lines
315 B
Plaintext

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;
}
}