Re: rpm packaging a web application software to run on nginx

2014-02-22 Thread Styopa Semenukha
Hello Doruk, Package manager should not undertake creating _usable_ configuration, this is configuration manager prerogative. The PM must create a sample configuration ("Welcome to Nginx"). I would declare your conf file as %doc, then rpmbuild will put it to /usr/share/doc/%{name}-%{version}/

rpm packaging a web application software to run on nginx

2014-02-22 Thread Doruk Fisek
Hi, I'm trying to add Nginx support to the LDAP Account Manager RPM package. In Apache, the package adds a /etc/httpd/conf.d/lam.apache.conf that has a simple Alias directive: Alias /lam /usr/share/ldap-account-manager However when I try to do that with a Location directive in /etc/nginx/co