蜘蛛抱蛋 (@zzbd)openwebui 云服务配置留档 中发帖

nginx.conf: 
upstream openwebui_backend {
keepalive 32;
server localhost:4567;
}
server {
listen 80;
listen 443 ssl http2;
server_name mywebsite.com;
if ($scheme = http) {
return 301 https://$host$request_uri;
}
ssl_certificate /etc/nginx/ssl/openwebui.crt;
ssl_certificate_key /etc/nginx/ssl/openwebui.key;
ssl_protocols TLSv1.3 TLSv1.2 TLSv1.1 TLSv1;...