Commit b6fbd191 authored by Yadd's avatar Yadd
Browse files

Fr translation until confignginx

parent a52be91d
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -20,7 +20,7 @@
<div class="dokuwiki export">
<h1 class="sectionedit1" id="deploy_nginx_configuration">Deploy Nginx configuration</h1>
<h1 class="sectionedit1" id="deploy_nginx_configuration">Deployer la configuration Nginx</h1>
<div class="level1">
</div><!-- EDIT1 SECTION "Deploy Nginx configuration" [1-42] -->
......@@ -29,15 +29,11 @@
<div class="level2">
<p>
With tarball installation, Nginx configuration files will be installed in <code>/usr/local/lemonldap-ng/etc/</code>, else they are in <code>/etc/lemonldap-ng</code>.
Depuis une installation par les sources, les fichiers de configuration de Nginx se trouvent dans <code>/usr/local/lemonldap-ng/etc/</code>, sinon, ils sont dans <code>/etc/lemonldap-ng</code>.
</p>
<p>
You have to include them in Nginx main configuration.
Il faut les inclure dans la configuration de Nginx, par exemple :
</p>
</div><!-- EDIT2 SECTION "Files" [43-265] -->
......@@ -46,9 +42,7 @@ You have to include them in Nginx main configuration.
<div class="level3">
<p>
Link files into <code>sites-available</code> directory (should already have been done if you used packages):
Créer les lliens symboliques dans le dossier <code>sites-available</code> (devrait être effectué automatiquement avec les packages):
</p>
<pre class="code">ln -s /etc/lemonldap-ng/handler-nginx.conf /etc/nginx/sites-available/
ln -s /etc/lemonldap-ng/manager-nginx.conf /etc/nginx/sites-available/
......@@ -56,9 +50,7 @@ ln -s /etc/lemonldap-ng/portal-nginx.conf /etc/nginx/sites-available/
ln -s /etc/lemonldap-ng/test-nginx.conf /etc/nginx/sites-available/</pre>
<p>
Enable sites:
Activer les sites :
</p>
<pre class="code">ln -s /etc/nginx/sites-available/handler-nginx.conf /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-available/manager-nginx.conf /etc/nginx/sites-enabled/
......@@ -71,9 +63,7 @@ ln -s /etc/nginx/sites-available/test-nginx.conf /etc/nginx/sites-enabled/</pre>
<div class="level3">
<p>
Link files directly in <code>conf.d</code> directory:
Lier les fichiers directement dans le dossier <code>conf.d</code> :
</p>
<pre class="code">ln -s /etc/lemonldap-ng/handler-nginx.conf /etc/nginx/conf.d/
ln -s /etc/lemonldap-ng/manager-nginx.conf /etc/nginx/conf.d/
......
......@@ -176,18 +176,18 @@ server {
error_page 401 $lmlocation;
try_files $uri $uri/ =404;
&nbsp;
##################################
# PASSING HEADERS TO APPLICATION #
##################################
######################################
# PASSER LES ENTÊTES À L'APPLICATION #
######################################
&nbsp;
# IF LUA IS SUPPORTED
# SI LUA EST SUPPORTÉ
#include /path/to/lemonldap-ng/nginx-lua-headers.conf
&nbsp;
# ELSE
# Set manually your headers
# SINON
# Définir manuellement les en-têtes
#auth_request_set $authuser $upstream_http_auth_user;
#proxy_set_header Auth-User $authuser;
# OR
# OU
#fastcgi_param HTTP_AUTH_USER $authuser;
&nbsp;
}</pre>
......@@ -220,7 +220,7 @@ server {
fastcgi_param X_ORIGINAL_URI $request_uri;
}
&nbsp;
# Client requests
# Requêtes clients
location ~ \.php$ {
auth_request /lmauth;
auth_request_set $lmremote_user $upstream_http_lm_remote_user;
......@@ -235,14 +235,14 @@ server {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_hide_header X-Powered-By;
&nbsp;
##################################
# PASSING HEADERS TO APPLICATION #
##################################
# IF LUA IS SUPPORTED
######################################
# PASSER LES ENTÊTES À L'APPLICATION #
######################################
# SI LUA EST SUPPORTÉ
#include /path/to/nginx-lua-headers.conf
&nbsp;
# ELSE
# Set manually your headers
# SINON
# Définir manuellement les en-têtes
#auth_request_set $authuser $upstream_http_auth_user;
#fastcgi_param HTTP_AUTH_USER $authuser;
}
......@@ -281,7 +281,7 @@ server {
fastcgi_param X_ORIGINAL_URI $request_uri;
}
&nbsp;
# Client requests
# Requêtes clients
location / {
auth_request /lmauth;
auth_request_set $lmremote_user $upstream_http_lm_remote_user;
......@@ -291,14 +291,14 @@ server {
proxy_pass http://remote.server/;
include /etc/nginx/proxy_params;
&nbsp;
##################################
# PASSING HEADERS TO APPLICATION #
##################################
# IF LUA IS SUPPORTED
######################################
# PASSER LES ENTÊTES À L'APPLICATION #
######################################
# SI LUA EST SUPPORTÉ
#include /path/to/nginx-lua-headers.conf
&nbsp;
# ELSE
# Set manually your headers
# SINON
# Définir manuellement les en-têtes
#auth_request_set $authuser $upstream_http_auth_user;
#proxy_set_header HTTP_AUTH_USER $authuser;
}
......
......@@ -63,7 +63,7 @@ Be sure that mod_rewrite is installed and that OpenID Connect rewrite rules are
Be sure that OpenID Connect rewrite rules are activated <a href="../../documentation/1.9/configlocation.html#portal1" class="wikilink1" title="documentation:1.9:configlocation">Nginx portal configuration</a>:
</p>
<pre class="code file nginx"> # OpenID Connect Issuer
<pre class="code file nginx"> # Fournisseur d'identité OpenID-Connect
rewrite ^/oauth2/.* /index.pl last;
rewrite ^/.well-known/openid-configuration$ /openid-configuration.pl last;</pre>
......
......@@ -146,7 +146,7 @@ Assurez-vous que mod_rewrite est installé et que les règles de réécriture SA
Be sure that SAML2 rewrite rules are activated in <a href="../../documentation/1.9/configlocation.html#portal1" class="wikilink1" title="documentation:1.9:configlocation">Nginx portal configuration</a>:
</p>
<pre class="code file nginx"> # SAML2 Issuer
<pre class="code file nginx"> # Fournisseur d'identité SAML2
rewrite ^/saml/metadata /metadata.pl last;
rewrite ^/saml/.* /index.pl last;</pre>
......
......@@ -112,7 +112,7 @@ Version 1.9 of <abbr title="LemonLDAP::NG">LL::NG</abbr> brings the following ma
<ul>
<li class="level1"><div class="li"> <a href="../../documentation/1.9/configapache.html" class="wikilink1" title="documentation:1.9:configapache">Deployer la configuration Apache</a></div>
</li>
<li class="level1"><div class="li"> <a href="../../documentation/1.9/confignginx.html" class="wikilink1" title="documentation:1.9:confignginx">Deploy Nginx configuration</a></div>
<li class="level1"><div class="li"> <a href="../../documentation/1.9/confignginx.html" class="wikilink1" title="documentation:1.9:confignginx">Deployer la configuration Nginx</a></div>
</li>
</ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment