Files
WMU-CS4430-Project/etc/nginx/conf.d/cs4430.conf
2019-11-25 13:48:50 -05:00

21 lines
388 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 / {
try_files $uri $uri/ /index.html =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
}