💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
http和https站点设置 ``` server {         listen       \*:80;         server\_name  domain.com;         root   /usr/local/nginx/html; # Convert http domain name request to https         return 301 https://$host$request\_uri;         location / {             try\_files $uri $uri/ /index.php?$query\_string;             index index.php index.html error/index.html;             autoindex  off;         }         location ~ \\.php(.\*)$ {             fastcgi\_pass   127.0.0.1:9000;             fastcgi\_index  index.php;             fastcgi\_split\_path\_info  ^((?U).+\\.php)(/?.+)$;             fastcgi\_param  SCRIPT\_FILENAME  $document\_root$fastcgi\_script\_name;             fastcgi\_param  PATH\_INFO  $fastcgi\_path\_info;             fastcgi\_param  PATH\_TRANSLATED  $document\_root$fastcgi\_path\_info;             include        fastcgi\_params;         } } server {         listen       \*:443 ssl http2;         server\_name  doamin.com;         root   /usr/local/nginx/tsite1;         ssl\_certificate /usr/local/nginx/conf/ssl/doamin.pem;         ssl\_certificate\_key /usr/local/nginx/conf/ssl/doamin.key;         ssl\_session\_timeout 5m;         ssl\_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;         ssl\_prefer\_server\_ciphers on; ssl\_ciphers "TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5";         ssl\_session\_cache builtin:1000 shared:SSL:10m;         location / {             try\_files $uri $uri/ /index.php?$query\_string;             index index.php index.html error/index.html;             autoindex  off;         }         location ~ \\.php(.\*)$ {             fastcgi\_pass   127.0.0.1:9000;             fastcgi\_index  index.php;             fastcgi\_split\_path\_info  ^((?U).+\\.php)(/?.+)$;             fastcgi\_param  SCRIPT\_FILENAME  $document\_root$fastcgi\_script\_name;             fastcgi\_param  PATH\_INFO  $fastcgi\_path\_info;             fastcgi\_param  PATH\_TRANSLATED  $document\_root$fastcgi\_path\_info;             include        fastcgi\_params;         } } ```