mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
Merge pull request #227 from shreyasp/force-nginx-config
[Fix] Added option to force upgrade nginx config file
This commit is contained in:
commit
a6ca0dbadf
@ -15,10 +15,11 @@ def setup_sudoers(user):
|
||||
|
||||
|
||||
@click.command('nginx')
|
||||
def setup_nginx():
|
||||
@click.option('--force', help='Force regeneration of nginx config file', default=False, is_flag=True)
|
||||
def setup_nginx(force=None):
|
||||
"generate config for nginx"
|
||||
from bench.config.nginx import make_nginx_conf
|
||||
make_nginx_conf(bench_path=".")
|
||||
make_nginx_conf(bench_path=".", force=force)
|
||||
|
||||
|
||||
@click.command('supervisor')
|
||||
|
Loading…
Reference in New Issue
Block a user