mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
chore: update nginx config
This commit is contained in:
+3
-1
@@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
server_name hazemkrimi.tech;
|
server_name hazemkrimi.tech www.hazemkrimi.tech;
|
||||||
|
|
||||||
access_log /home/deploy/logs/hazemkrimi.tech.access.log;
|
access_log /home/deploy/logs/hazemkrimi.tech.access.log;
|
||||||
|
|
||||||
@@ -7,6 +7,8 @@ server {
|
|||||||
|
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
error_page 404 /404.html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user