Fix the virtualhost location
This commit is contained in:
parent
7b99cf7231
commit
088263a0d2
|
@ -3,11 +3,9 @@ nexus_behind_nginx: True
|
||||||
nexus_service_port: 8081
|
nexus_service_port: 8081
|
||||||
nexus_service_bind_host: 127.0.0.1
|
nexus_service_bind_host: 127.0.0.1
|
||||||
nexus_major_version: '2'
|
nexus_major_version: '2'
|
||||||
#nexus_version: '{{ nexus_major_version }}.28.1'
|
nexus_version: '{{ nexus_major_version }}.14.20'
|
||||||
nexus_version: '{{ nexus_major_version }}.14.19'
|
nexus_release: '02'
|
||||||
nexus_release: '01'
|
|
||||||
nexus_download_url: ' https://download.sonatype.com/nexus/oss/nexus-{{ nexus_version }}-{{ nexus_release }}-bundle.tar.gz'
|
nexus_download_url: ' https://download.sonatype.com/nexus/oss/nexus-{{ nexus_version }}-{{ nexus_release }}-bundle.tar.gz'
|
||||||
#nexus_download_url: 'https://download.sonatype.com/nexus/{{ nexus_major_version }}/nexus-{{ nexus_version }}-{{ nexus_release }}-unix.tar.gz'
|
|
||||||
nexus_install_basedir: /srv/nexus
|
nexus_install_basedir: /srv/nexus
|
||||||
nexus_webapp_dir: '{{ nexus_install_basedir }}/nexus-oss-webapp'
|
nexus_webapp_dir: '{{ nexus_install_basedir }}/nexus-oss-webapp'
|
||||||
nexus_data_basedir: /data
|
nexus_data_basedir: /data
|
||||||
|
@ -25,4 +23,4 @@ nexus_wrapper_diskcache_buffersize: 4096
|
||||||
# Nginx setup
|
# Nginx setup
|
||||||
nexus_nginx_virtualhost_name: '{{ ansible_fqdn }}'
|
nexus_nginx_virtualhost_name: '{{ ansible_fqdn }}'
|
||||||
nexus_nginx_virtualhost_serveraliases: ''
|
nexus_nginx_virtualhost_serveraliases: ''
|
||||||
nginx_virthosts: '{{ maven_nginx_virthosts }}'
|
nginx_virthosts: '{{ maven_nginx_virthosts }}'
|
||||||
|
|
|
@ -16,5 +16,5 @@ maven_nginx_virthosts:
|
||||||
server_tokens: 'off'
|
server_tokens: 'off'
|
||||||
proxy_standard_setup: True
|
proxy_standard_setup: True
|
||||||
locations:
|
locations:
|
||||||
- location: /
|
- location: /nexus
|
||||||
target: http://127.0.0.1:{{ nexus_service_port }}
|
target: http://127.0.0.1:{{ nexus_service_port }}/nexus
|
||||||
|
|
Loading…
Reference in New Issue