Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - system.sphinx.server.multi |
| 3 | parameters: |
| 4 | _param: |
| 5 | nginx_static_reclass_doc_host: ${_param:cluster_public_host} |
Oleksii Molchanov | d2a1a7a | 2020-03-12 15:20:57 +0200 | [diff] [blame] | 6 | nginx_proxy_sphinx_user: sphinx |
| 7 | nginx_proxy_sphinx_password: ${_param:sphinx_proxy_password_generated} |
| 8 | nginx_proxy_sphinx_htpasswd_file: .htpasswd_sphinx |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 9 | sphinx: |
| 10 | server: |
| 11 | doc: |
| 12 | reclass_doc: |
| 13 | builder: singlehtml |
| 14 | path: source |
| 15 | source: |
| 16 | engine: reclass |
| 17 | nginx: |
| 18 | server: |
Oleksii Molchanov | d2a1a7a | 2020-03-12 15:20:57 +0200 | [diff] [blame] | 19 | user: |
| 20 | sphinx: |
| 21 | enabled: true |
| 22 | name: ${_param:nginx_proxy_sphinx_user} |
| 23 | password: ${_param:nginx_proxy_sphinx_password} |
| 24 | htpasswd: ${_param:nginx_proxy_sphinx_htpasswd_file} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 25 | site: |
| 26 | nginx_static_reclass_doc: |
| 27 | enabled: true |
| 28 | type: nginx_static |
| 29 | name: reclass_doc |
Oleksii Molchanov | d2a1a7a | 2020-03-12 15:20:57 +0200 | [diff] [blame] | 30 | auth: |
| 31 | engine: basic |
| 32 | htpasswd: ${_param:nginx_proxy_sphinx_htpasswd_file} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 33 | host: |
| 34 | name: ${_param:nginx_static_reclass_doc_host} |
| 35 | port: 8090 |
| 36 | protocol: http |
Oleksii Molchanov | d2a1a7a | 2020-03-12 15:20:57 +0200 | [diff] [blame] | 37 | |