@@ -6,14 +6,14 @@ A devcontainer is ready to use for the developers. A set of packages without ngi
To build and install the last stable version of [nginx](http://nginx.org/en/download.html)(1.22.1) you have to copy the ```nginx.repo``` file (it is contained in the ```docker``` directory) into the ```/etc/yum.repos.d/``` directory and install nginx with yum:
```
```shell
$ sudo cp docker/nginx.repo /etc/yum.repos.d/
$ sudo yum install-y nginx
```
Otherwise, if you want to build and install the last stable version of [nginx](http://nginx.org/en/download.html)(1.22.1) with the httpg patch, a bash library is ready to use. You can source it and follow the commands below:
If you want to build and install the `ngx_http_voms_module`, nginx have to be installed in the container (see the previous section). When this requirement is satisfied, you can use the library contained in the ```.devcontainer/assets``` folder as follows (NOTE: if you have already download nginx source file, you can skip the relative command):
`ngx_http_voms_module` is a module for the [Nginx web server](https://www.nginx.org/) that enables client-side authentication based on X.509 proxy certificates augmented with VOMS Attribute Certificates, typically obtained from a [Virtual Organization Membership Service](https://italiangrid.github.io/voms/)(VOMS) server.
The module defines a set of [*embedded* variables](###embedded-variables), whose values are extracted from the first Attribute Certificate found in the certificate chain.
The module defines a set of *embedded* variables, whose values are extracted from the first Attribute Certificate found in the certificate chain.
### Embedded Variables
...
...
@@ -99,7 +99,7 @@ The software dependecies are listed in the [provide-deps](docker/library-scripts
The nginx source files are also needed. To download them in ```/tmp/nginx-x.y.z``` you can execute: