Configure public-web-static host for Element Web hosting
Co-authored-by: julian <julian@jsts.xyz>
This commit is contained in:
parent
3053eb9b2f
commit
02411bb800
8 changed files with 206 additions and 0 deletions
8
config/hosts/public-web-static/nginx.nix
Normal file
8
config/hosts/public-web-static/nginx.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.nginx.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8443 31820 ];
|
||||
networking.firewall.allowedUDPPorts = [ 8443 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue