add wildcard parameter to create_web_vhost_config task
This commit is contained in:
parent
ba85ad8ad9
commit
7fbeb668da
1 changed files with 3 additions and 1 deletions
|
@ -8,13 +8,15 @@ from celery import shared_task
|
|||
|
||||
|
||||
@shared_task
|
||||
def create_web_vhost_config(username, sitename):
|
||||
def create_web_vhost_config(username, sitename, wildcard):
|
||||
"""
|
||||
This task creates a virtual host configuration on an nginx web
|
||||
server.
|
||||
|
||||
:param str username: user who owns the site
|
||||
:param str sitename: site name
|
||||
:param boolean wildcard: designates whether this is website has a wildcard
|
||||
subdomain
|
||||
:return: :py:const:`True` if the creation finished successfully
|
||||
:rtype: boolean
|
||||
|
||||
|
|
Loading…
Reference in a new issue