diff --git a/docker/api/default.conf b/docker/api/default.conf index ce937d8..a633301 100644 --- a/docker/api/default.conf +++ b/docker/api/default.conf @@ -7,7 +7,7 @@ server { server_name localhost; root /api/api/static/; - expires max; + expires 1m; log_not_found off; access_log off; @@ -15,14 +15,14 @@ server { location /avatar { proxy_pass http://127.0.0.1:7039/avatar; - expires max; + expires 1m; log_not_found off; access_log off; } location /restart { proxy_pass http://127.0.0.1:7039/restart; - expires max; + expires 1m; log_not_found off; access_log off; } @@ -31,7 +31,7 @@ server { alias /api/api/static/templates/user_menu_header.json; default_type application/json; index user_menu_header.json; - expires max; + expires 1m; log_not_found off; access_log off; } @@ -40,7 +40,7 @@ server { alias /api/api/static/templates/user_menu_header.html; default_type text/html; index user_menu_header.html; - expires max; + expires 1m; log_not_found off; access_log off; } @@ -49,7 +49,7 @@ server { alias /api/api/static/templates/header.json; default_type application/json; index header.json; - expires max; + expires 1m; log_not_found off; access_log off; } @@ -58,7 +58,7 @@ server { alias /api/api/static/templates/header.html; default_type text/html; index header.html; - expires max; + expires 1m; log_not_found off; access_log off; } @@ -67,15 +67,15 @@ server { alias /api/api/static/templates/header_nextcloud.html; default_type text/html; index header_nextcloud.html - expires max; + expires 1m; log_not_found off; access_log off; } location / { try_files $uri $uri/ - expires max; + expires 1m; log_not_found off; access_log off; } -} \ No newline at end of file +}