Skip to content

Commit

Permalink
feat(nginx): default CORS configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Nov 8, 2024
1 parent 0c65d33 commit bb69e47
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ ENV NGINX_DOCUMENT_ROOT=/data \
NGINX_EXPIRES_DEFAULT=epoch \
NGINX_LIMIT_REQ_RATE=400 \
NGINX_LIMIT_REQ_BURST=1000 \
NGINX_DISABLE_SYMLINKS=if_not_owner
NGINX_DISABLE_SYMLINKS=if_not_owner \
NGINX_CORS_ENABLE="" \
NGINX_CORS_ORIGIN="*" \
NGINX_CORS_METHODS="GET" \
NGINX_CORS_HEADERS="*" \
NGINX_CORS_MAXAGE=86400

ENV nitrobaseApiPrefix="/api/s7" \
nitrobaseDebugPath="/debug-info-110" \
Expand Down

0 comments on commit bb69e47

Please sign in to comment.