Skip to content

Commit

Permalink
Add COOP and COEP headers to nginx to try to fix shared buffer not wo…
Browse files Browse the repository at this point in the history
…rking
  • Loading branch information
Jon committed Nov 8, 2024
1 parent f40ee97 commit 0523e8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN echo -e " server {\n" \
" root /app;\n" \
" index index.html;\n" \
" try_files \$uri \$uri/ /index.html;\n" \
" add_header 'Cross-Origin-Embedder-Policy' 'require-corp';\n" \
" add_header 'Cross-Origin-Opener-Policy' 'same-origin';\n" \
" }\n" \
" }\n" \
> /etc/nginx/conf.d/datalab.conf
Expand Down

0 comments on commit 0523e8b

Please sign in to comment.