Welcome! Log In Create A New Profile

Advanced

rpm packaging a web application software to run on nginx

Doruk Fisek
February 22, 2014 08:58AM
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/conf.d/lam.nginx.conf, I get:

"location directive is not allowed here"

I have to put the Location directive inside a server block, which
makes the config file not usable out of the box (the user has to
manually place it in all server blocks, including the default one).

Since my Apache way of thinking isn't working in Nginx, my question
is: How do I prepare an RPM package of a web application, which when
installed, will be up and running in Nginx without any manual editing
on the user's part?

Doruk

--
Özgür Yazılım A.Ş. ~ #
http://www.ozguryazilim.com.tr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

rpm packaging a web application software to run on nginx

Doruk Fisek February 22, 2014 08:58AM

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

Styopa Semenukha February 22, 2014 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready