summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorIwanIDev <iwan@iwani.dev>2026-03-04 17:47:43 +0000
committerIwanIDev <iwan@iwani.dev>2026-03-04 17:47:43 +0000
commit572a393440b39a838b99227ba2222a210a495fac (patch)
tree5ae4fbb4060739a9bfdf102c1c8cfc597b26cb4c /nginx.conf
parent4c4f5ffc6b72732f516aefc6756c848330c106e7 (diff)
Refactor Docker setup: replace inline Nginx configuration with external file and update Docker stack port configuration
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..483d49c
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,11 @@
+server {
+ listen 80;
+ listen [::]:80;
+ server_name _;
+ root /usr/share/nginx/html;
+ index index.html;
+
+ location / {
+ try_files $uri $uri/ /index.html;
+ }
+}