From 8504e08b2eee33fc5f95df3a3ae72780788593fa Mon Sep 17 00:00:00 2001 From: Trey t Date: Thu, 27 Nov 2025 23:56:19 -0600 Subject: [PATCH] add admin.conf --- nginx.conf.d/admin.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nginx.conf.d/admin.conf diff --git a/nginx.conf.d/admin.conf b/nginx.conf.d/admin.conf new file mode 100644 index 0000000..d92f2a5 --- /dev/null +++ b/nginx.conf.d/admin.conf @@ -0,0 +1,11 @@ +location /admin { + proxy_pass http://127.0.0.1:3000; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'upgrade'; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_cache_bypass $http_upgrade; +}