avatar
童琦杰
向死而生
githubmusic
2021-04-05编辑

Gitlab出现Forbidden(403)问题

1.查看IP是否被封,若Redis存在被封记录,则删除对应键即可

bash
cd /opt/gitlab/embedded/bin/
./redis-cli -s /var/opt/gitlab/redis/redis.socket keys '*' | grep 'rack::attack'
./redis-cli -s /var/opt/gitlab/redis/redis.socket del [REDIS_KEY]