mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -84,7 +84,9 @@ def lego(c):
|
||||
|
||||
|
||||
def generate_self_signed_cert(c):
|
||||
if not exists(c, '/etc/nginx/ssl/dummy.cert'):
|
||||
if exists(c, '/etc/nginx/ssl/dummy.cert'):
|
||||
return
|
||||
|
||||
c.sudo('mkdir -p /etc/nginx/ssl')
|
||||
c.sudo(
|
||||
'openssl req -x509 -nodes -days 3650 -newkey rsa:2048 '
|
||||
|
||||
Reference in New Issue
Block a user