mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-12 23:51:40 +00:00
Doc tweaks
This commit is contained in:
+2
-2
@@ -85,7 +85,7 @@ server {
|
||||
}
|
||||
|
||||
# SSE endpoints
|
||||
location ~ ^/api/v2/(spots|alerts)/stream/? {
|
||||
location ~ ^/api/v\d*/(spots|alerts)/stream/? {
|
||||
proxy_pass http://spothole:8080;
|
||||
|
||||
# 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;
|
||||
add_header Cache-Control "public, max-age=3600, must-revalidate";
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ server {
|
||||
}
|
||||
|
||||
# SSE endpoints
|
||||
location ~ ^/api/v2/(spots|alerts)/stream/? {
|
||||
location ~ ^/api/v\d*/(spots|alerts)/stream/? {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
|
||||
# Remove buffering, remove caching, add suitable timeouts for SSE API calls
|
||||
|
||||
Reference in New Issue
Block a user