Add nginx config file
This commit is contained in:
2
Makefile
2
Makefile
@@ -25,7 +25,5 @@ tarball: $(RPM_SOURCEDIR)/$(NAME)-$(VERSION).tar.gz
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
install --directory $(DESTDIR)$(RPM_SYSCONFDIR)/nginx
|
||||
install --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/nginx etc/nginx/nginx.conf
|
||||
install --directory $(DESTDIR)$(RPM_SYSCONFDIR)/certbot
|
||||
install --target-directory=$(DESTDIR)$(RPM_SYSCONFDIR)/certbot etc/certbot/ovh.ini.tpl
|
||||
|
||||
@@ -31,6 +31,7 @@ if [ $1 == 1 ]; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%attr(644, root, root) %config %{_sysconfdir}/nginx/nginx.conf
|
||||
%attr(755, root, root) %dir %{_sysconfdir}/certbot
|
||||
%attr(644, root, root) %{_sysconfdir}/certbot/ovh.ini.tpl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user