Accepting request 573758 from server:http

- Install /etc/nginx/conf.d directory for custom user configuration
  files 

- Install /etc/nginx/vhosts.d directory for default installation
  to house custom virtual hosts configuration files

OBS-URL: https://build.opensuse.org/request/show/573758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nginx?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2018-02-07 17:43:05 +00:00 committed by Git OBS Bridge
commit 4711f55930
2 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 7 15:43:27 UTC 2018 - achernikov@suse.com
- Install /etc/nginx/conf.d directory for custom user configuration
files
-------------------------------------------------------------------
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,9 @@ cp -av contrib/vim/* \
%{buildroot}%{vim_data_dir}/
mkdir -p %{buildroot}%{_datadir}/nginx/
mkdir -p %{buildroot}%{ngx_conf_dir}/vhosts.d/
mkdir -p %{buildroot}%{ngx_conf_dir}/conf.d/
chmod a+rx contrib/geo2nginx.pl
cp -av contrib/geo2nginx.pl contrib/unicode2nginx/ \
%{buildroot}%{_datadir}/nginx/
@ -342,6 +345,8 @@ copydocs %{nginx_rtmp_module_path} \
%files
%dir %{ngx_conf_dir}/
%dir %{ngx_conf_dir}/vhosts.d
%dir %{ngx_conf_dir}/conf.d
%config(noreplace) %{ngx_conf_dir}/koi-utf
%config(noreplace) %{ngx_conf_dir}/koi-win
%config(noreplace) %{ngx_conf_dir}/fastcgi_params