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:
+1
-1
@@ -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
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user