This commit is contained in:
孙小云 2025-05-16 15:41:33 +08:00
parent 5d1cabf7c7
commit 1a1dd4f4d6
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
server {
server {
listen 80;
listen 443 ssl;
server_name oidc-bazhong.t-aaron.com;
@ -11,8 +11,9 @@ server {
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://172.19.0.10:8090;
proxy_pass http://OIDC-SERVERbazhong:8090;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;