Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ragflow.conf 672B

12345678910111213141516171819202122232425262728
  1. server {
  2. listen 80;
  3. server_name _;
  4. root /ragflow/web/dist;
  5. gzip on;
  6. gzip_min_length 1k;
  7. gzip_comp_level 9;
  8. gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
  9. gzip_vary on;
  10. gzip_disable "MSIE [1-6]\.";
  11. location /v1 {
  12. proxy_pass http://ragflow:9380;
  13. include proxy.conf;
  14. }
  15. location / {
  16. index index.html;
  17. try_files $uri $uri/ /index.html;
  18. }
  19. # Cache-Control: max-age~@~AExpires
  20. location ~ ^/static/(css|js|media)/ {
  21. expires 10y;
  22. access_log off;
  23. }
  24. }