--- unicorn_gems: - unicorn - coderay unicorn_apache_modules: - proxy_balancer - proxy - proxy_http - lbmethod_byrequests - lbmethod_bytraffic - lbmethod_bybusyness - lbmethod_heartbeat # For Ubuntu trusty redmine_ppa_packages: - subversion - git-core - curl - 'ruby{{ trusty_ruby_version }}' - rails - ruby-rmagick - 'ruby{{ trusty_ruby_version }}-dev' - rails - zlib1g-dev - libpq-dev - libmysqld-dev - libmagickwand-dev - libmagickcore-dev - imagemagick redmine_distribution_packages: - subversion - git-core - curl - ruby - rails - ruby-rmagick - ruby-dev - rails - zlib1g-dev - libpq-dev - libmysqld-dev - libmagickwand-dev - libmagickcore-dev - imagemagick redmine_base_apache_modules: - ssl - rewrite - expires nginx_frontend: '{{ redmine_nginx_frontend }}' nginx_use_common_virthost: False nginx_webroot: '{{ redmine_web_root }}' nginx_behind_haproxy_settings: '{{ redmine_nginx_behind_haproxy_settings }}' nginx_cors_enabled: '{{ redmine_nginx_cors_enabled }}' nginx_cors_global: '{{ redmine_nginx_cors_global }}' redmine_nginx_virthosts: - virthost_name: '{{ redmine_nginx_virtualhost_name }}' listen: '{{ http_port }}' server_name: '{{ redmine_nginx_virtualhost_name }}' serveraliases: '{{ redmine_nginx_serveraliases }}' ssl_enabled: True ssl_only: True ssl_letsencrypt_certs: '{{ nginx_letsencrypt_managed }}' root: '{{ redmine_web_root }}' error_path: '{{ redmine_web_root }}' additional_options: - try_files $uri/index.html $uri.html $uri @app server_tokens: 'off' proxy_standard_setup: True locations: - location: '@app' target: http://unicorn cors: '{{ nginx_cors_enabled }}'