Compare commits
2 commits
2fde5c7ae7
...
cac0b75b3a
| Author | SHA1 | Date | |
|---|---|---|---|
| cac0b75b3a | |||
| 0cd08663e7 |
2 changed files with 4 additions and 1 deletions
|
|
@ -83,6 +83,8 @@
|
||||||
src: /etc/nginx/sites-available/frontal.conf
|
src: /etc/nginx/sites-available/frontal.conf
|
||||||
dest: /etc/nginx/sites-enabled/frontal.conf
|
dest: /etc/nginx/sites-enabled/frontal.conf
|
||||||
state: link
|
state: link
|
||||||
|
# En simulation, le vhost n'a pas ete ecrit : le lien viserait un fichier absent.
|
||||||
|
force: "{{ ansible_check_mode }}"
|
||||||
notify: Recharger nginx serveur_web_frontal
|
notify: Recharger nginx serveur_web_frontal
|
||||||
|
|
||||||
- name: Valider la configuration nginx avant tout rechargement
|
- name: Valider la configuration nginx avant tout rechargement
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
# Gere par Set-OPS (role serveur_web_frontal). Ne pas editer a la main.
|
# Gere par Set-OPS (role serveur_web_frontal). Ne pas editer a la main.
|
||||||
server_tokens off;
|
# `server_tokens off` est deja actif dans le nginx.conf de Debian 13 : le redeclarer ici fait
|
||||||
|
# refuser toute la configuration (« directive is duplicate »).
|
||||||
client_max_body_size {{ serveur_web_frontal_taille_max_corps }};
|
client_max_body_size {{ serveur_web_frontal_taille_max_corps }};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue