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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,22 +0,0 @@
|
||||
server {
|
||||
{% include './templates/header.conf.j2' %}
|
||||
root /srv/http/coince.mateu.be/;
|
||||
index index.htm index.html index.php;
|
||||
|
||||
allow 2001:bc8:26c1:101:0:0:0:0/64;
|
||||
allow 2001:bc8:26c1:105:0:0:0:0/64;
|
||||
allow 2001:1b48:2:103::6d:2;
|
||||
allow 83.167.52.81;
|
||||
deny all;
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri $uri/ =404;
|
||||
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location /var {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user