Gitlab: Difference between revisions

Onny (talk | contribs)
Clarify initial root login
Onny (talk | contribs)
Add notes on Gitlab behind reverse proxy
Line 56: Line 56:
</syntaxHighlight>
</syntaxHighlight>


== Migrating an existing Gitlab to a Nixos installation ==
== Tips and tricks ==
 
=== Run Gitlab behind reverse proxy ===
In case your Gitlab instance is running behind a reverse proxy which does offer TLS encryption, you might need to adapt your configuration<syntaxhighlight lang="nix">
services.gitlab = {
  [...]
  https = true;
  port = 443;
  host = "git.example.org";
};
</syntaxhighlight>
 
=== Migrating an existing Gitlab to a Nixos installation ===
Make a backup on the on the old installation following the [https://docs.gitlab.com/ee/raketasks/backup_gitlab.html Gitlab backup guide]. It is important to be on the same version and edition that you want to install on your new server.
Make a backup on the on the old installation following the [https://docs.gitlab.com/ee/raketasks/backup_gitlab.html Gitlab backup guide]. It is important to be on the same version and edition that you want to install on your new server.