First commit
This commit is contained in:
20
roles/nginx/templates/vhosts/rss.libertus.eu.conf.j2
Normal file
20
roles/nginx/templates/vhosts/rss.libertus.eu.conf.j2
Normal file
@@ -0,0 +1,20 @@
|
||||
server {
|
||||
{% include './templates/header.conf.j2' %}
|
||||
root /srv/http/rss.libertus.eu/;
|
||||
index index.html index.htm index.php;
|
||||
|
||||
location ~ \.(js|css|png|jpg|jpeg|gif|svg|svgz)$ {
|
||||
expires 2w;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
location ~ /\.git {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri $uri/ =404;
|
||||
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user