First commit
This commit is contained in:
22
roles/nginx/templates/vhosts/coince.mateu.be.conf.j2
Normal file
22
roles/nginx/templates/vhosts/coince.mateu.be.conf.j2
Normal file
@@ -0,0 +1,22 @@
|
||||
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