Menu Home

gerrit

Use Gerrit

Gerrit Workflow Set Permission(Nginx) Create password file htpasswd -c /path/gerrit.password username Add New User htpasswd -m /path/gerrit.password username Nginx Configuration server { listen *:80; server_name gerrit; allow all; deny all; auth_basic “Welcomme to Gerrit !”; auth_basic_user_file /path/gerrit.password; location / { proxy_pass http://127.0.0.1:8080; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $host; } } […]