diff --git a/appcontainer/nginx.conf b/appcontainer/nginx.conf index b0fe492bdb..2ea16be1f2 100644 --- a/appcontainer/nginx.conf +++ b/appcontainer/nginx.conf @@ -72,6 +72,13 @@ http { add_header Cache-Control public; } + # path for uploaded files + location /uploads/ { + alias /home/calitp/app/data/uploads/; + expires 1y; + add_header Cache-Control public; + } + location / { # checks for static file, if not found proxy to app try_files $uri @proxy_to_app;