diff --git a/dotfiles/.local/bin/commands b/dotfiles/.local/bin/commands index 645a547..c68279f 100755 --- a/dotfiles/.local/bin/commands +++ b/dotfiles/.local/bin/commands @@ -1258,7 +1258,8 @@ http { ) as f: f.write(r''' server { - listen 80; + server_name %s; + listen %d; charset UTF-8; client_max_body_size 2K; @@ -1272,6 +1273,8 @@ server { %s } ''' % ( + options.host, + options.port, DATA_DIR, location_section, ))