: add koillection

This commit is contained in:
VC
2025-03-02 14:17:44 +01:00
parent 4bf895ceab
commit 123e62ffac
8 changed files with 175 additions and 0 deletions

View 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;
}
}