Remove root HTML tasks from source install (#280)
NGINX automatically creates a root HTML site when installing from source
This commit is contained in:
parent
7341b2ec64
commit
e51f977a2c
@ -12,8 +12,3 @@
|
|||||||
nginx_install_source_pcre: false
|
nginx_install_source_pcre: false
|
||||||
nginx_install_source_openssl: true
|
nginx_install_source_openssl: true
|
||||||
nginx_install_source_zlib: false
|
nginx_install_source_zlib: false
|
||||||
|
|
||||||
nginx_main_upload_enable: true
|
|
||||||
nginx_main_upload_src: files/nginx.conf
|
|
||||||
nginx_http_upload_enable: true
|
|
||||||
nginx_http_upload_src: files/http/*.conf
|
|
||||||
|
@ -343,19 +343,6 @@
|
|||||||
chdir: "/tmp/{{ nginx_version }}"
|
chdir: "/tmp/{{ nginx_version }}"
|
||||||
target: install
|
target: install
|
||||||
|
|
||||||
- name: "(Install: Linux) Install NGINX: Create html directory"
|
|
||||||
file:
|
|
||||||
path: /usr/share/nginx/html
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: "(Install: Linux) Install NGINX: Copy index.html"
|
|
||||||
copy:
|
|
||||||
src: www/index.html
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: '0644'
|
|
||||||
dest: /usr/share/nginx/html/index.html
|
|
||||||
|
|
||||||
- name: "(Install: Linux) Upload systemd NGINX service file"
|
- name: "(Install: Linux) Upload systemd NGINX service file"
|
||||||
copy:
|
copy:
|
||||||
src: services/nginx.systemd
|
src: services/nginx.systemd
|
||||||
|
Loading…
Reference in New Issue
Block a user