From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 12 Jul 2026 11:08:50 +0200 Subject: update --- articles/2021/Nginx-permission-denied.html | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 articles/2021/Nginx-permission-denied.html (limited to 'articles/2021/Nginx-permission-denied.html') diff --git a/articles/2021/Nginx-permission-denied.html b/articles/2021/Nginx-permission-denied.html new file mode 100755 index 0000000..de31e0e --- /dev/null +++ b/articles/2021/Nginx-permission-denied.html @@ -0,0 +1,32 @@ + + + + + + + Bloggings + + +
+

Bloggings

+ Back + +
+ +
+
+

Nginx permission denied

+

2021-04-08

+

Ça m'a pris un moment pour comprendre. J'ai généré un rapport à partir de +goaccess, mais nginx a refusé de l'afficher. +J'ai vérifié les permissions des fichiers mais rien ne clochait. +Il s'avère que c'était SElinux. Je l'ai résolu avec :

+ +setsebool -P httpd_can_network_connect on
+chcon -Rt httpd_sys_content_t /path/to/webroot +
+
+
+ + -- cgit v1.3.1