mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
chore(docs): clean up debugging_names.md and self_hosting.md for clarity and conciseness
feat(docs): enhance self_hosting.md with additional instructions for quick setup and deployment fix(nginx.py): add missing directory creation for nginx certificates in ssh_lib refactor(nginx.py): update curl command filtering logic based on skip_planet configuration in http_host_lib
This commit is contained in:
@@ -93,7 +93,9 @@ def write_nginx_config():
|
||||
subprocess.run(['systemctl', 'reload', 'nginx'], check=True)
|
||||
|
||||
curl_text_lines = sorted(curl_text_mix.splitlines())
|
||||
if '/monaco' in curl_text_mix:
|
||||
if config.ofm_config.get('skip_planet'):
|
||||
curl_text_lines = [l for l in curl_text_lines if '/planet' not in l]
|
||||
else:
|
||||
curl_text_lines = [l for l in curl_text_lines if '/monaco' not in l]
|
||||
|
||||
curl_text_mix = '\n'.join(curl_text_lines)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import shutil
|
||||
from datetime import datetime, timezone
|
||||
|
||||
from http_host_lib.assets import download_assets
|
||||
from http_host_lib.btrfs import download_area_version
|
||||
|
||||
Reference in New Issue
Block a user