Doc tweaks

This commit is contained in:
Ian Renton
2026-08-12 18:39:35 +01:00
parent d92126dffd
commit b9f2764085
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ server {
} }
# SSE endpoints # SSE endpoints
location ~ ^/api/v2/(spots|alerts)/stream/? { location ~ ^/api/v\d*/(spots|alerts)/stream/? {
proxy_pass http://spothole:8080; proxy_pass http://spothole:8080;
# Remove buffering, remove caching, add suitable timeouts for SSE API calls # Remove buffering, remove caching, add suitable timeouts for SSE API calls
@@ -193,4 +193,4 @@ point it at the new container rather than at a filesystem path:
expires 1h; expires 1h;
add_header Cache-Control "public, max-age=3600, must-revalidate"; add_header Cache-Control "public, max-age=3600, must-revalidate";
} }
``` ```
+1 -1
View File
@@ -48,7 +48,7 @@ server {
} }
# SSE endpoints # SSE endpoints
location ~ ^/api/v2/(spots|alerts)/stream/? { location ~ ^/api/v\d*/(spots|alerts)/stream/? {
proxy_pass http://127.0.0.1:8080; proxy_pass http://127.0.0.1:8080;
# Remove buffering, remove caching, add suitable timeouts for SSE API calls # Remove buffering, remove caching, add suitable timeouts for SSE API calls