Redmine 版本:3.4.4.stable redmine_git_hosting 插件版本:1.2.3 gitolite v.3
HTTPS 仅访问存储库。我可以克隆 OK,但是在推送时出现以下错误:
fatal: Authentication failed for '<repo URL>'
但是,在 git_hosting.log 的服务器端,我收到以下错误:
SmartHttp : your are trying to push data without SSL!, exiting !
我对问题的真正原因感到困惑
我的虚拟主机 redmine 配置文件是:
`<VirtualHost *:443>
ServerName .....
ServerAlias ......
ServerAdmin ....
DocumentRoot /opt/redmine/public
PassengerRuby ......
PassengerFriendlyErrorPages on
ErrorLog /var/log/httpd/redmine-error_log
CustomLog /var/log/httpd/redmine-access_log common
<Directory "/opt/redmine">
Require all granted
# MultiViews must be turned off
Options -MultiViews
</Directory>
PerlLoadModule Apache::Authn::Redmine
<Location />
Order allow,deny
Allow from all
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:Pg:database=redmine;host=127.0.0.1"
RedmineDbUser "redmine"
RedmineDbPass "xxxxx"
RedmineGitSmartHttp yes
</Location>
</VirtualHost>`
提前感谢您的帮助!