Optionally set the context path.

This commit is contained in:
Andrea Dell'Amico 2022-10-24 19:23:00 +02:00
parent 00288a1ceb
commit f6dc48cd20
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,7 @@ shinyproxy_file_name: 'shinyproxy-{{ shinyproxy_version }}.jar'
shinyproxy_url: 'https://www.shinyproxy.io/downloads/{{ shinyproxy_file_name }}'
shinyproxy_app_name: shinyproxy.jar
shinyproxy_user: shinyproxy
# shinyproxy_servlet_context_path: '/'
shinyproxy_spring_name: "ShinyProxy"
shinyproxy_landing_page: '/'
shinyproxy_install_dir: /opt/shinyproxy

View File

@ -5,6 +5,9 @@ server:
useForwardHeaders: true
{% endif %}
servlet.session.timeout: {{ shinyproxy_server_session_timeout }}
{% if shinyproxy_servlet_context_path is defined %}
servlet.context-path: {{ shinyproxy_servlet_context_path }}
{% endif %}
secure-cookies: {{ shinyproxy_server_secure_cookies }}
frame-options: {{ shinyproxy_server_frame_options }}