- Install /etc/nginx/vhosts.d directory for default installation

to house custom virtual hosts configuration files

OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=99
This commit is contained in:
Artem Chernikov 2018-02-07 15:08:41 +00:00 committed by Git OBS Bridge
parent f4825dda39
commit f43fc9eb7b
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 7 15:07:47 UTC 2018 - achernikov@suse.com
- Install /etc/nginx/vhosts.d directory for default installation
to house custom virtual hosts configuration files
-------------------------------------------------------------------
Mon Dec 18 02:59:27 UTC 2017 - avindra@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package nginx
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -285,6 +285,8 @@ cp -av contrib/vim/* \
%{buildroot}%{vim_data_dir}/
mkdir -p %{buildroot}%{_datadir}/nginx/
mkdir -p %{buildroot}%{ngx_conf_dir}/vhosts.d/
chmod a+rx contrib/geo2nginx.pl
cp -av contrib/geo2nginx.pl contrib/unicode2nginx/ \
%{buildroot}%{_datadir}/nginx/
@ -342,6 +344,7 @@ copydocs %{nginx_rtmp_module_path} \
%files
%dir %{ngx_conf_dir}/
%dir %{ngx_conf_dir}/vhosts.d
%config(noreplace) %{ngx_conf_dir}/koi-utf
%config(noreplace) %{ngx_conf_dir}/koi-win
%config(noreplace) %{ngx_conf_dir}/fastcgi_params