Clean up the configuration.

This commit is contained in:
Andrea Dell'Amico 2022-05-11 11:23:43 +02:00
parent 11478062fc
commit 656e649d1c
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@ nginx_set_content_security_options: true
nginx_disable_content_security_options: true
nginx_x_frame_options: ''
nginx_pep_debug_enabled: 'true'
nginx_proxy_define_header_host: true
nginx_proxy_header_x_forwarded_proto: 'https'
nginx_conf_remote_snippets:
- url: 'https://code-repo.d4science.org/gCubeSystem/d4s-nginx-pep-examples/raw/branch/master/shinyproxy/pep.js.j2'
name: pep.js
@ -46,7 +48,7 @@ nginx_virthosts:
- 'subrequest_output_buffer_size 128k'
- 'js_content pep.enforce'
- location: '~ /[^_].+'
target: 'http://shinyproxy_sdg$request_uri'
target: 'http://shinyproxy_sdg'
other_opts:
- 'subrequest_output_buffer_size 128k'
- location: /_jwt_verify_request