From 16dbd3a82a1c5cd31293943a4526103e26c16e6c Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Thu, 24 Oct 2024 23:55:21 +0800 Subject: [PATCH] addded nginx confioguration file --- conf/nginx-bugis.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 conf/nginx-bugis.conf diff --git a/conf/nginx-bugis.conf b/conf/nginx-bugis.conf new file mode 100644 index 0000000..8769ad3 --- /dev/null +++ b/conf/nginx-bugis.conf @@ -0,0 +1,14 @@ +server { + listen 8080; + http2 on; + + server_name localhost; + + location / { + proxy_pass http://granian:8000; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_read_timeout 60s; + } +} \ No newline at end of file