Ajout d’UniFi, modif spamassassin, amélioration MariaDB, création de Rhea
This commit is contained in:
@@ -14,27 +14,8 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ ^/(inc|plugins|db|cache)/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
## Inter PHP en path_info
|
||||
location ~ ^/(index).php(/.*)+ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
## Inter PHP brute
|
||||
location ~ \.php$ {
|
||||
try_files $uri $uri/ =404;
|
||||
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
## redirection des zolies URLs vers index.php
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php$uri?$args;
|
||||
location /feed/atom {
|
||||
return 302 /atom.xml;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user