From 1fbf5b108c8ade9aefaf3c0ba53f35413012beba Mon Sep 17 00:00:00 2001 From: Mike de Geofroy Date: Wed, 13 Nov 2024 15:25:58 +0300 Subject: [PATCH] added nginx.conf --- nginx.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..580eab2 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,21 @@ +events { + worker_connections 1024; +} + +http { + include mime.types; + types { + application/javascript js mjs; + } + + server { + listen 80; + server_name localhost; + + location / { + root /usr/share/nginx/html; + index index.html index.htm; + try_files $uri $uri/ /index.html; + } + } +}