下午好,我已经在Linux服务器上安装了OpenAI的Whisper,Ubuntu和Apache作为Web服务器。我README.md使用Python在https://huggingface.co/spaces/aadnk/whisper-webui中托管的www.example.com文件中遵循了教程。
当我通过没有SSL的HTTP访问http://whisper.mydomain.com:7860/时,它工作得很好。
但是,当我通过HTTPS使用SSL访问https://whisper.mydomain.com/时,将流量重定向到Apache的7860端口,Web界面加载,但是当我上传相同的文件来转录音频时,它一直加载,从不显示结果。
下面是我的Apache配置:
<VirtualHost *:80>
ServerName whisper.mydomain.com
Redirect / https://whisper.mydomain.com/
</VirtualHost>
<VirtualHost *:443>
ServerName whisper.mydomain.com
ProxyPass / http://whisper.mydomain.com:7860/
ProxyPassReverse / http://whisper.mydomain.com:7860/
SSLEngine on
SSLCertificateFile "/etc/ssl/certs/AlphaSSL__.mydomain.com.pem"
SSLCertificateKeyFile "/etc/ssl/private/AlphaSSL__.mydomain.com.key"
</VirtualHost>
有什么想法我可以做什么,使它正常工作?谢谢。
1条答案
按热度按时间cngwdvgl1#
早上好,我通过卸载Apache并使用Nginx解决了我的问题,配置文件如下: