From 3804c3390f6284cd6a0aeff2614285086695d6a4 Mon Sep 17 00:00:00 2001 From: gitadmin Date: Mon, 29 Jun 2026 18:40:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20sso-ai.conf=20ngin?= =?UTF-8?q?x=20=E5=8F=8D=E5=90=91=E4=BB=A3=E7=90=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf.d/sso-ai.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 conf.d/sso-ai.conf diff --git a/conf.d/sso-ai.conf b/conf.d/sso-ai.conf new file mode 100644 index 0000000..d4b367d --- /dev/null +++ b/conf.d/sso-ai.conf @@ -0,0 +1,15 @@ +server { + listen 443 ssl; + server_name sso.tlyq.ai; + + ssl_certificate /etc/letsencrypt/live/oa.tlyq.ai/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/oa.tlyq.ai/privkey.pem; + + location / { + proxy_pass http://authelia:9091; + 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 https; + } +}