adding videosdani
This commit is contained in:
parent
9347d1763a
commit
f36e139181
15
README.org
15
README.org
|
@ -892,6 +892,21 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts = {
|
||||||
|
"videosdani.tfcconnection.org".extraConfig = ''
|
||||||
|
reverse_proxy localhost:9000
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
virtualHosts = {
|
||||||
|
"videosdani.tfcconnection.org:1935".extraConfig = ''
|
||||||
|
reverse_proxy localhost:1935
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
/etc/nixos/cachix.nix
|
||||||
];
|
];
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = "experimental-features = nix-command flakes";
|
extraOptions = "experimental-features = nix-command flakes";
|
||||||
|
@ -418,6 +419,21 @@
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts = {
|
||||||
|
"videosdani.tfcconnection.org".extraConfig = ''
|
||||||
|
reverse_proxy localhost:9000
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
virtualHosts = {
|
||||||
|
"videosdani.tfcconnection.org:1935".extraConfig = ''
|
||||||
|
reverse_proxy localhost:1935
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
Loading…
Reference in a new issue