Outline: Difference between revisions

Klinger (talk | contribs)
No edit summary
Bmillwood (talk | contribs)
SSL example: staticPasswords requires enablePasswordDB
Line 88: Line 88:
Similar as before but this time with Nginx handling SSL.  
Similar as before but this time with Nginx handling SSL.  


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|||<nowiki>
{ config, pkgs, lib, ... }: {
{ config, pkgs, lib, ... }: {


Line 125: Line 125:
     forceHttps = false;
     forceHttps = false;
     storage.storageType = "local";
     storage.storageType = "local";
    enablePasswordDB = true;
     oidcAuthentication = {
     oidcAuthentication = {
       authUrl = "https://dex.example.tld/auth";
       authUrl = "https://dex.example.tld/auth";
Line 165: Line 166:




</nowiki>}}
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}


== Troubleshooting ==
== Troubleshooting ==