From b53c431c671cec3cc3bbc29bb90299368be3da50 Mon Sep 17 00:00:00 2001 From: Steve Thibault Date: Thu, 18 Dec 2025 19:36:04 -0500 Subject: [PATCH] Add standard nginx proxy to redirecto to the nas instance of lumio in technocopia. --- lumio_nginx_config | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lumio_nginx_config diff --git a/lumio_nginx_config b/lumio_nginx_config new file mode 100644 index 0000000..dc06982 --- /dev/null +++ b/lumio_nginx_config @@ -0,0 +1,30 @@ +server { + + server_name amargi.us; + + location / { + proxy_pass http://nas-8-01:3000; # Replace with the port Open WebUI is running on + 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; + # WebSocket support + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + + proxy_read_timeout 3600; + proxy_send_timeout 3600; + proxy_buffering off; + } + + include snippets/lets-encrypt.conf; + listen 443 ssl; # managed by Certbot + +} +server { + server_name agargi.us; + listen 80; + listen [::]:80; + return 301 https:///$host$request_uri; +}