mirror of
https://github.com/YunoHost-Apps/svgedit_ynh.git
synced 2024-09-03 20:26:24 +02:00
17 lines
371 B
Django/Jinja
17 lines
371 B
Django/Jinja
{% if path_url != "/" %}
|
|
rewrite ^{{ path_url }}$ {{ path_url }}/ permanent;
|
|
{% else %}
|
|
{% set path_url = "" %}
|
|
{% endif %}
|
|
location {{ path_url }}/ {
|
|
alias {{ final_path }}/;
|
|
|
|
index svg-editor.html;
|
|
|
|
if ($scheme = http) {
|
|
rewrite ^ https://$server_name$request_uri? permanent;
|
|
}
|
|
|
|
# Include SSOWAT user panel.
|
|
include conf.d/yunohost_panel.conf.inc;
|
|
}
|