diff options
author | Andrew Dolgov <[email protected]> | 2023-07-28 21:23:57 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-07-28 21:23:57 +0300 |
commit | 3d255d861c1a146c4cae65a8e0e1ae51b19da70a (patch) | |
tree | 3103a0768219ca60810668a90381bd65ef3537e9 /.docker/web-nginx/nginx.conf | |
parent | dc25a9cf6816b756cb38490eab93f02589c44a10 (diff) |
use nginx envsubst to make tt-rss root configurable
Diffstat (limited to '.docker/web-nginx/nginx.conf')
-rw-r--r-- | .docker/web-nginx/nginx.conf | 7 |
1 files changed, 3 insertions, 4 deletions
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; } |