chore: initial import
这个提交包含在:
27
nginx/conf.d/default.conf
普通文件
27
nginx/conf.d/default.conf
普通文件
@@ -0,0 +1,27 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name reserve.xn--15t503c5up.com;
|
||||
|
||||
# Let's Encrypt ACME challenge
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
# LLM API reverse proxy
|
||||
location /api/llm/ {
|
||||
proxy_pass http://llm-proxy:9405;
|
||||
proxy_http_version 1.1;
|
||||
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_buffering off;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
}
|
||||
|
||||
# Redirect all HTTP to HTTPS
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户