From 7656917dc6689e8a8f0a035a6aa330858a5e6e64 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 29 Sep 2020 12:26:01 +0300 Subject: [PATCH] set /tt-rss/backups as internal --- web-nginx/nginx.conf | 4 ++++ web-ssl/Caddyfile | 3 ++- web/Caddyfile | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/web-nginx/nginx.conf b/web-nginx/nginx.conf index efe2eea..033f9da 100644 --- a/web-nginx/nginx.conf +++ b/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/web-ssl/Caddyfile b/web-ssl/Caddyfile index 56c2239..076829c 100644 --- a/web-ssl/Caddyfile +++ b/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/web/Caddyfile b/web/Caddyfile index e65d2c8..663227c 100644 --- a/web/Caddyfile +++ b/web/Caddyfile @@ -3,4 +3,6 @@ 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 +