Raspi - Wiki

Installation de RaspiOS

Outils pour utilisateurs

Outils du site


web:authentification

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
web:authentification [2022/02/24 18:18] michelweb:authentification [2022/03/09 14:23] (Version actuelle) michel
Ligne 16: Ligne 16:
  location / {  location / {
                 try_files $uri $uri/ =404;                 try_files $uri $uri/ =404;
-     auth_basic "Secure area - Authentication requise"; + auth_basic "Secure area - Authentication requise"; 
-                    auth_basic_user_file /etc/nginx/.htpasswd; +                auth_basic_user_file /etc/nginx/.htpasswd; 
-     }+ }
  location ~ \.php$ {  location ~ \.php$ {
  include snippets/fastcgi-php.conf;  include snippets/fastcgi-php.conf;
Ligne 25: Ligne 25:
 } }
 </file> </file>
 +Et comme pour virtualhost il faut recharger la configuration de NGINX
 +
 +
 +
 +{{counter}}
web/authentification.1645723119.txt.gz · Dernière modification : 2022/02/24 18:18 de michel