Skip to content

Commit

Permalink
Flag for custom sub template, and CA_TYPE for dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kamerdinerov committed Dec 24, 2024
1 parent 9622f80 commit d39475d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/marzban/templates/env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ SQLALCHEMY_DATABASE_URL = "sqlite:////var/lib/marzban/db.sqlite3"
UVICORN_PORT = {{ marzban_panel_port }}
UVICORN_SSL_CERTFILE = "/var/lib/marzban/certs/{{ marzban_ssl_certfile }}"
UVICORN_SSL_KEYFILE = "/var/lib/marzban/certs/{{ marzban_ssl_keyfile }}"
UVICORN_SSL_CA_TYPE = "private"
XRAY_SUBSCRIPTION_URL_PREFIX = https://{{ marzban_panel_uri }}
CUSTOM_TEMPLATES_DIRECTORY="{{ marzban_system_dirs | json_query('[*].templates_dir') | first }}/"
{% if marzban_custom_subscription_template is defined and marzban_custom_subscription_template %}
SUBSCRIPTION_PAGE_TEMPLATE="index.html"
{% endif %}
XRAY_JSON = "{{ marzban_system_dirs | json_query('[*].work_dir') | first }}/xray_config.json"
SUDO_USERNAME="{{ marzban_panel_login }}"
SUDO_PASSWORD="{{ marzban_panel_password }}"
Expand Down

0 comments on commit d39475d

Please sign in to comment.