[~] Refactor

This commit is contained in:
Siarhei Siniak 2024-05-19 13:37:58 +03:00
parent b742a0ef61
commit d7b8c2f974

@ -1258,7 +1258,8 @@ http {
) as f: ) as f:
f.write(r''' f.write(r'''
server { server {
listen 80; server_name %s;
listen %d;
charset UTF-8; charset UTF-8;
client_max_body_size 2K; client_max_body_size 2K;
@ -1272,6 +1273,8 @@ server {
%s %s
} }
''' % ( ''' % (
options.host,
options.port,
DATA_DIR, DATA_DIR,
location_section, location_section,
)) ))