We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4979c55 + 7ced80a commit 717eef6Copy full SHA for 717eef6
templates/uwsgi.ini.j2
@@ -8,7 +8,12 @@ processes={{ netbox_processes }}
8
module=netbox.wsgi
9
virtualenv={{ netbox_virtualenv_path }}
10
chdir={{ netbox_current_path }}/netbox
11
-static-map=/static={{ netbox_current_path }}/netbox/static
+{% if netbox_config.BASE_PATH is defined %}
12
+{% set _base_path = netbox_config.BASE_PATH.strip('/') ~ '/' %}
13
+{% else %}
14
+{% set _base_path = '' %}
15
+{% endif %}
16
+static-map=/{{ _base_path }}static={{ netbox_current_path }}/netbox/static
17
logger={{ netbox_application_log }}
18
req-logger={{ netbox_requests_log }}
19
0 commit comments