summaryrefslogtreecommitdiff
path: root/.docker/web-nginx/nginx.conf
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-07-28 21:23:57 +0300
committerAndrew Dolgov <[email protected]>2023-07-28 21:23:57 +0300
commit3d255d861c1a146c4cae65a8e0e1ae51b19da70a (patch)
tree3103a0768219ca60810668a90381bd65ef3537e9 /.docker/web-nginx/nginx.conf
parentdc25a9cf6816b756cb38490eab93f02589c44a10 (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.conf7
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;
}