2016-10-03 18:28:15 +02:00
---
setup_nginx : False
http_redirect_to_https : False
letsencrypt_acme_install : False
smartgears_install_generic_virthost : True
2019-01-03 15:32:43 +01:00
smartgears_install_common_nginx_virthualhost : False
2016-11-23 12:28:05 +01:00
#smartgears_nginx_serveraliases:
2016-11-28 16:41:06 +01:00
smartgears_nginx_cors_enabled : False
nginx_cors_acl_origin : ''
2017-12-06 18:17:31 +01:00
smartgears_tomcat_manager_exposed : False
smartgears_tomcat_manager_access_acls :
- { policy: 'allow', address : '0.0.0.0/0' }
2018-10-25 12:35:34 +02:00
# You can use smartgears_special_redirect to redirect whatever URL to another one, even changing the hostname (it must be an alias of the machine hostname if you want to maintain it local)
#smartgears_special_redirect:
# - { source_uri: '/', dest_host: 'hostname-alias', dest_url: 'service-url'}
2017-07-20 13:49:50 +02:00
smartgears_nginx_expose_tomcat_logs : False
2018-05-02 12:00:57 +02:00
smartgears_nginx_rw_html_root : False
2019-01-03 15:32:43 +01:00
smartgears_nginx_virtualhosts :
- virthost_name : '{{ smartgears_tomcat_servername }}'
smartgears_id : '{{ smartgears_instance_id }}'
#listen: '{{ http_port }}'
server_name : '{{ smartgears_tomcat_servername }}'
ssl_enabled : True
ssl_only : '{{ http_redirect_to_https }}'
ssl_letsencrypt_certs : '{{ nginx_letsencrypt_managed }}'
smartgears_over_ssl : False
smartgears_http_port : '{{ smartgears_http_port }}'
root : '{{ smartgears_web_document_root }}'
server_tokens : 'off'
index : index.html index.do
max_body : '{{ nginx_client_max_body_size }}'
user : '{{ smartgears_user }}'
proxy_standard_setup : True
# locations:
# - location: /yam
# other_opts:
# - 'try_files $uri $uri/ $uri.php$is_args$query_string'
# - location: ~ \.php$
# php_target: '{{ phpfpm_listen_host }}:{{ phpfpm_listen_port }}'