mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
nginx conf
This commit is contained in:
@@ -50,6 +50,8 @@ def nginx(c):
|
||||
put(c, f'{ASSETS_DIR}/nginx/default_disable.conf', '/data/nginx/sites')
|
||||
put(c, f'{ASSETS_DIR}/nginx/cloudflare.conf', '/data/nginx/config')
|
||||
|
||||
sudo_cmd(c, 'curl https://ssl-config.mozilla.org/ffdhe2048.txt -o /etc/nginx/ffdhe2048.txt')
|
||||
|
||||
c.sudo('nginx -t')
|
||||
c.sudo('service nginx restart')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user