mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
use cloudflare
This commit is contained in:
@@ -44,7 +44,7 @@ def nginx(c):
|
|||||||
put(c, f'{ASSETS_DIR}/nginx/nginx.conf', '/etc/nginx/')
|
put(c, f'{ASSETS_DIR}/nginx/nginx.conf', '/etc/nginx/')
|
||||||
put(c, f'{ASSETS_DIR}/nginx/mime.types', '/etc/nginx/')
|
put(c, f'{ASSETS_DIR}/nginx/mime.types', '/etc/nginx/')
|
||||||
put(c, f'{ASSETS_DIR}/nginx/default_disable.conf', '/data/nginx/sites')
|
put(c, f'{ASSETS_DIR}/nginx/default_disable.conf', '/data/nginx/sites')
|
||||||
# put(c, f'{ASSETS_DIR}/nginx/cloudflare.conf', '/data/nginx/config')
|
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')
|
sudo_cmd(c, 'curl https://ssl-config.mozilla.org/ffdhe2048.txt -o /etc/nginx/ffdhe2048.txt')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user