22 lines
363 B
Nix
22 lines
363 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts = {
|
|
"onlypain.icu" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
|
|
root = ./.;
|
|
|
|
locations = {
|
|
"/imprint/".alias = "${pkgs.sbruder.imprint}/";
|
|
};
|
|
};
|
|
"www.onlypain.icu" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
globalRedirect = "onlypain.icu";
|
|
};
|
|
};
|
|
}
|