From 21a939e66e48271a6604b8a3baeea176ac5280f9 Mon Sep 17 00:00:00 2001
From: ghaymah_dev
Date: Sat, 1 Nov 2025 07:46:17 +0000
Subject: [PATCH] Add nginx.conf.template
---
nginx.conf.template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 nginx.conf.template
diff --git a/nginx.conf.template b/nginx.conf.template
new file mode 100644
index 0000000..e1dca56
--- /dev/null
+++ b/nginx.conf.template
@@ -0,0 +1,17 @@
+events {}
+
+http {
+ upstream backend {
+ ${BACKEND_SERVERS}
+ }
+
+ server {
+ listen ${LISTEN_PORT:-80};
+
+ location / {
+ proxy_pass http://backend;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ }
+ }
+}
\ No newline at end of file