nginx.default.patch
modif/nginx.default 2023-02-28 12:10:14.753162121 +0100 | ||
---|---|---|
291 | 291 |
} |
292 | 292 |
%end for % for %%revprox_iter in %%dom_dict.keys() |
293 | 293 | |
294 |
%if %%activer_sso == 'local' |
|
295 |
# Redirection SSO |
|
296 |
server { |
|
297 |
listen %%adresse_ip_eth0:8443 ssl; |
|
298 |
ssl_certificate %%server_cert; |
|
299 |
ssl_certificate_key %%server_key; |
|
300 |
ssl_client_certificate /etc/ssl/certs/ca.crt; |
|
301 |
access_log /var/log/nginx/localhost.access-sso.log; |
|
302 |
error_page 403 404 502 503 504 /nginx.html; |
|
303 |
location = /nginx.html{ |
|
304 |
root /usr/share/nginx/html; |
|
305 |
} |
|
306 | ||
307 |
include web.d/eolesso.conf; |
|
308 |
} |
|
309 |
%end if |
|
310 | ||
294 | 311 |
%if %%activer_revprox == 'oui' |
295 | 312 |
%if %%getVar('activer_sso', 'local') != 'local' and not %%is_empty(%%revprox_sso) |
296 | 313 |
# Redirection SSO |