Redmine: Difference between revisions
imported>Vater No edit summary |
imported>Vater |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
# | # system.stateVersion = "22.05"; | ||
services.redmine.enable = true; | services.redmine.enable = true; | ||
| Line 25: | Line 25: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
# | # system.stateVersion = "22.05"; | ||
# | # networking.hostName = "redmine"; | ||
# | # networking.domain = "domain.tld"; | ||
services.redmine.enable = true; | services.redmine.enable = true; | ||
services.nginx.enable = true; | services.nginx.enable = true; | ||
# services.nginx.recommendedOptimisation = true; | |||
# services.nginx.recommendedGzipSettings = true; | |||
# services.nginx.recommendedProxySettings = true; | |||
services.nginx.virtualHosts."${config.networking.fqdn}" | services.nginx.virtualHosts."${config.networking.fqdn}" = { | ||
locations."/" = { | |||
services.nginx.recommendedTlsSettings = true; | proxyPass = "http://127.0.0.1:3000"; | ||
}; | |||
forceSSL = true; | |||
enableACME = true; | |||
}; | |||
# services.nginx.recommendedTlsSettings = true; | |||
security.acme.defaults.email = "acme@${config.networking.domain}"; | security.acme.defaults.email = "acme@${config.networking.domain}"; | ||
security.acme.acceptTerms = true; | security.acme.acceptTerms = true; | ||
# networking.firewall.allowedTCPPorts = [ 80 443 3000 ]; | |||
networking.firewall.allowedTCPPorts = [ 80 443 ]; | networking.firewall.allowedTCPPorts = [ 80 443 ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 47: | Line 55: | ||
https://redmine.domain.tld | https://redmine.domain.tld | ||
<!-- | |||
==== small configuration ==== | ==== small configuration ==== | ||
with some (working (and maybe non working)) plugins | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 65: | Line 74: | ||
--> | --> | ||
<!-- | |||
== accounts == | |||
: groups and privileges | |||
==== LDAP ==== | |||
==== OpenID ==== | |||
==== OAuth ==== | |||
--> | |||
== login == | |||
(first you have to) login in as the initial account | |||
: this initial account is having highest privileges | |||
https://redmine.domain.tld/login | |||
:; Login: ''admin'' | |||
:; Password: ''admin'' | |||
: <tt>Login</tt> | |||
(redmine forces you to) change the password | |||
https://redmine.domain.tld/my/password | |||
[[Category:Guide]] | [[Category:Guide]] | ||
[[Category:Applications]] | [[Category:Applications]] | ||