|
|
|
@ -354,6 +354,9 @@ for i in ftdetect indent syntax; do |
|
|
|
|
%{buildroot}%{_datadir}/vim/vimfiles/${i}/nginx.vim |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
install -p -D -m 0644 naxsi-%{naxsi_version}/naxsi_config/naxsi_core.rules \ |
|
|
|
|
%{buildroot}%{_sysconfdir}/nginx/naxsi_core.rules |
|
|
|
|
|
|
|
|
|
echo 'load_module "%{_libdir}/nginx/modules/ngx_http_geoip_module.so";' \ |
|
|
|
|
> %{buildroot}%{_datadir}/nginx/modules/mod-http-geoip.conf |
|
|
|
|
echo 'load_module "%{_libdir}/nginx/modules/ngx_http_image_filter_module.so";' \ |
|
|
|
@ -534,6 +537,7 @@ fi |
|
|
|
|
%files mod-http-naxsi |
|
|
|
|
%{_datadir}/nginx/modules/mod-naxsi.conf |
|
|
|
|
%{_libdir}/nginx/modules/ngx_http_naxsi_module.so |
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/naxsi_core.rules |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Tue Nov 06 2018 Daniel Berteaud <daniel@firewall-services.com> 1.12.2-20.beta7 |
|
|
|
|