From 5b05abe654c465ec9d5c7b96aac6da68b3a6d366 Mon Sep 17 00:00:00 2001 From: crybabbby Date: Thu, 14 May 2026 21:26:02 +0300 Subject: [PATCH] Fix static serving with Staticfile --- Staticfile | 1 + nginx.conf | 24 ------------------------ 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 nginx.conf diff --git a/Staticfile b/Staticfile index e69de29..1707055 100644 --- a/Staticfile +++ b/Staticfile @@ -0,0 +1 @@ +push_state: enabled diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index e7b4761..0000000 --- a/nginx.conf +++ /dev/null @@ -1,24 +0,0 @@ -events { - worker_connections 1024; # Maximum simultaneous connections per worker -} - -http { - include mime.types; - default_type application/octet-stream; - - server { - listen 80; - server_name localhost; # Or your domain name - - location / { - root /var/www/html; # Directory where your files are located - index index.html index.htm; - } - - # Custom error page for 404 - error_page 404 /404.html; - location = /404.html { - root /usr/share/nginx/html; - } - } -}