openvibers/openvibe.ai Commits

Publish the creation catalogue on the AI vhost (#472)

OP OpenVibers committed 2 days ago · 4272c5d255 · 1 file, +2 −0

Changes

ddiff --git a/deploy/nginx/ai.openvibe.services.conf b/deploy/nginx/ai.openvibe.services.conf
iindex b74fc43..6e20d03 100644
---- a/deploy/nginx/ai.openvibe.services.conf
++++ b/deploy/nginx/ai.openvibe.services.conf
@@@ -190,6 +190,7 @@ server {
# ── What AI can make (ai.creation-list@1): public, cached and CORS open, for the site, an app or a
# page. The app answers the same ACAO * on a preflight, so OPTIONS is proxied like the GETs. ──
location = /api/v1/creations {
++ limit_except GET OPTIONS { deny all; }
proxy_pass http://127.0.0.1:4700;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@@@ -198,6 +199,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location = /api/v1/creations.md {
++ limit_except GET OPTIONS { deny all; }
proxy_pass http://127.0.0.1:4700;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;