From 4edc4ccd85cc50c60bf3f45e1e3f16aebc0b5f98 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 25 Sep 2023 13:13:04 -0400 Subject: [PATCH] fixup --- nginx.conf | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/nginx.conf b/nginx.conf index 2e7df9d..573518f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,10 @@ user nginx; worker_processes 1; +# Load environment variables +env BACKEND_ADDRESS; +env BACKEND_PORT; + events { worker_connections 1024; } @@ -9,10 +13,6 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; - # Load environment variables - env BACKEND_ADDRESS; - env BACKEND_PORT; - server { listen 80; @@ -25,4 +25,3 @@ http { } } } -