[~] Refactor
This commit is contained in:
parent
b742a0ef61
commit
d7b8c2f974
@ -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,
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user