From 47a828bc6060a7c19663f4259dc3eb0b2a320761 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 29 Sep 2020 12:28:06 +0300 Subject: [PATCH] set /tt-rss/backups as internal --- src/web-nginx/nginx.conf | 4 ++++ src/web-ssl/Caddyfile | 3 ++- src/web/Caddyfile | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/web-nginx/nginx.conf b/src/web-nginx/nginx.conf index efe2eea..033f9da 100644 --- a/src/web-nginx/nginx.conf +++ b/src/web-nginx/nginx.conf @@ -29,6 +29,10 @@ http { internal; } + location /tt-rss/backups { + internal; + } + location ~ \.php$ { # regex to split $uri to $fastcgi_script_name and $fastcgi_path fastcgi_split_path_info ^(.+?\.php)(/.*)$; diff --git a/src/web-ssl/Caddyfile b/src/web-ssl/Caddyfile index 56c2239..076829c 100644 --- a/src/web-ssl/Caddyfile +++ b/src/web-ssl/Caddyfile @@ -5,4 +5,5 @@ root /var/www/html log stdout errors stderr internal /tt-rss/cache -fastcgi / app:9000 php \ No newline at end of file +internal /tt-rss/backups +fastcgi / app:9000 php diff --git a/src/web/Caddyfile b/src/web/Caddyfile index e65d2c8..19999ab 100644 --- a/src/web/Caddyfile +++ b/src/web/Caddyfile @@ -3,4 +3,5 @@ root /var/www/html log stdout errors stderr internal /tt-rss/cache -fastcgi / app:9000 php \ No newline at end of file +internal /tt-rss/backups +fastcgi / app:9000 php