✨: add koillection
This commit is contained in:
26
roles/nginx/templates/vhosts/koi.libertus.eu.conf.j2
Normal file
26
roles/nginx/templates/vhosts/koi.libertus.eu.conf.j2
Normal file
@@ -0,0 +1,26 @@
|
||||
server {
|
||||
{% include './templates/header.conf.j2' %}
|
||||
|
||||
root /srv/http/koi.libertus.eu/public;
|
||||
|
||||
index index.html index.htm index.php;
|
||||
|
||||
# Media: images, icons, video, audio, fonts
|
||||
location ~* \.(?:jpg|jpeg|gif|png|webp|ico|svg|webm|eot|ttf|otf|woff|woff2|js|css)$ {
|
||||
expires 2w;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
||||
try_files $uri $document_root$fastcgi_script_name =404;
|
||||
|
||||
include fastcgi_params;
|
||||
fastcgi_pass unix:/run/php/php{{ php_version }}-fpm.sock;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user