new managed options. Cookies, origin.
This commit is contained in:
parent
b6e962fa9b
commit
010b422c42
|
@ -33,6 +33,11 @@ shinyproxy_prometheus_port: 9090
|
|||
shinyproxy_expose_prometheus: True
|
||||
# 30 minutes
|
||||
shinyproxy_server_session_timeout: 1800
|
||||
shinyproxy_server_secure_cookies: 'true'
|
||||
# disable, deny, sameorigin, allow-from https://site
|
||||
shinyproxy_server_frame_options: 'sameorigin'
|
||||
# None, Lax, Strict
|
||||
shinyproxy_same_site_cookie: 'Lax'
|
||||
# For logrotate. In days
|
||||
shinyproxy_log_retention: 10
|
||||
shinyproxy_default_apps: True
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{% if shinyproxy_version is version_compare('2.4.0', '>=') %}
|
||||
server:
|
||||
{% if shinyproxy_version is version_compare('2.4.0', '>=') %}
|
||||
forward-headers-strategy: native
|
||||
{% else %}
|
||||
server:
|
||||
useForwardHeaders: true
|
||||
{% endif %}
|
||||
servlet.session.timeout: {{ shinyproxy_server_session_timeout }}
|
||||
secure-cookies: {{ shinyproxy_server_secure_cookies }}
|
||||
frame-options: {{ shinyproxy_server_frame_options }}
|
||||
|
||||
proxy:
|
||||
title: {{ shinyproxy_app_title }}
|
||||
|
@ -21,6 +22,7 @@ proxy:
|
|||
recover-running-proxies-from-different-config: {{ shinyproxy_recover_running_proxies_from_different_config }}
|
||||
default-stop-proxy-on-logout: {{ shinyproxy_default_stop_proxy_on_logout }}
|
||||
default-proxy-max-lifetime: {{ shinyproxy_default_proxy_max_lifetime }}
|
||||
same-site-cookie: {{ shinyproxy_same_site_cookie }}
|
||||
{% endif %}
|
||||
{% if shinyproxy_container_backend == 'docker-swarm' %}
|
||||
bind-address: 0.0.0.0
|
||||
|
|
Loading…
Reference in New Issue