: get from ttrss to freshrss

This commit is contained in:
VC
2024-08-09 17:52:07 +02:00
parent 92cfa55f77
commit d2cd65ba2f
7 changed files with 45 additions and 36 deletions

View File

@@ -1,17 +1,19 @@
server {
{% include './templates/header.conf.j2' %}
root /srv/http/rss.libertus.eu/;
root /srv/http/rss.libertus.eu/p;
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 ~ ^/(api/greader).php(/.*)+ {
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
include fastcgi_params;
}
location ~ \.php$ {
try_files $uri $uri/ =404;
fastcgi_pass unix:/var/run/php/php{{ php_version }}-fpm.sock;