- enable https proxy
I recently updated SCM-Manager from v2 to v3 and encountered an issue with Cloudflare HTTPS. In v2, HTTPS worked fine when my domain was proxied through Cloudflare, even though I hadn’t set up SSL on my server. However, after upgrading to v3, Cloudflare HTTPS no longer works.
For https on cloudflare, I use this configuration:
Flexible: Enable encryption only between your visitors and Cloudflare. This will avoid browser security warnings, but all connections between Cloudflare and your origin are made through HTTP.
Solution: Change the config variable forwardHeadersEnabled
to true and reboot. The config file is in this path:
/etc/scm/config.yml
2. cache should be writeable
check your permissions for /var/cache/scm/work
? This directory (and all subdirectories) have to be writable by scm
.
3. scm home folder should be set with owner and group 1000:1000
sudo chown -R 1000:1000 /scm_home
原创文章,作者:江海志,如若转载,请注明出处:https://jianghaizhi.com/wzjs/1840.html