From 3d255d861c1a146c4cae65a8e0e1ae51b19da70a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Jul 2023 21:23:57 +0300 Subject: use nginx envsubst to make tt-rss root configurable --- .docker/web-nginx/nginx.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.docker/web-nginx/nginx.conf') diff --git a/.docker/web-nginx/nginx.conf b/.docker/web-nginx/nginx.conf index f7d47c453..c85e46ef3 100644 --- a/.docker/web-nginx/nginx.conf +++ b/.docker/web-nginx/nginx.conf @@ -23,15 +23,14 @@ http { server { listen 80; listen [::]:80; + root ${APP_WEB_ROOT}; - root /var/www/html; - - location /tt-rss/cache { + location ${APP_BASE}/cache { aio threads; internal; } - location /tt-rss/backups { + location ${APP_BASE}/backups { internal; } -- cgit v1.2.3