We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f726d4 commit 6736191Copy full SHA for 6736191
backend/nginx/api.conf
@@ -7,7 +7,7 @@ server {
7
}
8
9
# Strictly allow only GET, POST, and OPTIONS requests for the specified paths (defined in my fastapi app)
10
- location ~ ^/(generate(/cost)?|modify|)?$ {
+ location ~ ^/(generate(/cost|/stream)?|modify|)?$ {
11
if ($request_method !~ ^(GET|POST|OPTIONS)$) {
12
return 444;
13
0 commit comments