Fixes in scripts for order in proxy
This commit is contained in:
parent
29c338638e
commit
666d31f3b3
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ if args.path!='/':
|
|||
</Location> \n\
|
||||
".format(args.path[:-1], home_user, home_user, args.path[:-1])
|
||||
|
||||
name_file='/home/{}/{}-002-{}.conf'.format(system_user, args.domain, os.path.basename(args.path[:-1]))
|
||||
name_file='/home/{}/{}-002-{}.conf'.format(system_user, args.domain, os.path.basename(args.path[1:-1]))
|
||||
|
||||
with open(name_file, 'w') as f:
|
||||
f.write(alias_apache)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue