website/nginx.conf

12 lines
368 B
Nginx Configuration File
Raw Normal View History

2022-01-18 20:45:43 +01:00
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.php;
error_page 404 = /404.html;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}