From a34714388fb662fdfcd41c4e9d63f0a6b7b00230 Mon Sep 17 00:00:00 2001 From: supphakitd <67319010028@technictrang.ac.th> Date: Sun, 23 Nov 2025 12:37:49 +0700 Subject: [PATCH] nginx.conf: added --- nginx.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..7afcf09 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,16 @@ +server { + listen 80; + server_name localhost; + + location / { + root /usr/share/nginx/html; + index index.html index.htm; + try_files $uri $uri/ /index.html; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } +} +