Add the nginx configuration
parent
143b88202a
commit
e86fe4b850
@ -1,2 +1,20 @@
|
||||
---
|
||||
nexus_user: nexus
|
||||
|
||||
setup_nginx: '{{ nexus_behind_nginx }}'
|
||||
nginx_use_common_virthost: True
|
||||
maven_nginx_virthosts:
|
||||
- virthost_name: '{{ nexus_nginx_virtualhost_name }}'
|
||||
listen: "{{ http_port | default('443') }}"
|
||||
server_name: '{{ nexus_nginx_virtualhost_name }}'
|
||||
serveraliases: '{{ nexus_nginx_virtualhost_serveraliases }}'
|
||||
ssl_enabled: True
|
||||
ssl_only: False
|
||||
ssl_letsencrypt_certs: '{{ nginx_letsencrypt_managed }}'
|
||||
root: '{{ nginx_webroot }}'
|
||||
websockets: False
|
||||
server_tokens: 'off'
|
||||
proxy_standard_setup: True
|
||||
locations:
|
||||
- location: /
|
||||
target: http://127.0.0.1:{{ nexus_service_port }}
|
||||
|
Loading…
Reference in New Issue