--- unicorn_gems: - unicorn - coderay unicorn_apache_modules: - proxy_balancer - proxy - proxy_http - lbmethod_byrequests - lbmethod_bytraffic - lbmethod_bybusyness - lbmethod_heartbeat # Redmine dependencies redmine_pkg_dependencies: - subversion - git-core - curl - rails - zlib1g-dev - libpq-dev - libmysqld-dev - libmagickwand-dev - libmagickcore-dev - imagemagick - ghostscript redmine_ppa_packages: - ruby{{ ruby_ppa_version }} - ruby{{ ruby_ppa_version }}-dev - rails - ruby-rmagick redmine_distribution_packages: - ruby - rails - ruby-rmagick - ruby-dev 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 }}'