16 lines
No EOL
331 B
Nix
16 lines
No EOL
331 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts."stupid.fish" = {
|
|
forceSSL = true;
|
|
useACMEHost = "stupid.fish";
|
|
root = pkgs.copyPathToStore ./assets;
|
|
|
|
locations."/jetbra/" = {
|
|
extraConfig = ''
|
|
alias /mnt/s3-desu-priv-encrypted/jetbra/;
|
|
try_files $uri $uri/ /index.html;
|
|
'';
|
|
};
|
|
};
|
|
} |