add 404 page nginx config

This commit is contained in:
Jonas Leder 2022-01-18 19:45:43 +00:00
parent 47956ee86b
commit 03a94de7f5

12
nginx.conf Normal file
View file

@ -0,0 +1,12 @@
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;
}
}