From d6469c00a9a6bff86da493bb7788a3cf731931d5 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Sat, 24 Jan 2026 14:22:40 +0100 Subject: [PATCH] chore: update nginx config --- deploy/nginx.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/nginx.conf b/deploy/nginx.conf index 7b72f6c..3ca40a5 100644 --- a/deploy/nginx.conf +++ b/deploy/nginx.conf @@ -1,5 +1,5 @@ server { - server_name hazemkrimi.tech; + server_name hazemkrimi.tech www.hazemkrimi.tech; access_log /home/deploy/logs/hazemkrimi.tech.access.log; @@ -7,6 +7,8 @@ server { index index.html; + error_page 404 /404.html; + location / { try_files $uri $uri/ =404; }