Skip to content

Commit

Permalink
remove configuração de csp para resolver conflito com cdn do tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
altendorfme committed Dec 5, 2024
1 parent 630d03e commit 1a1457a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ server {
# Controla como os cabeçalhos de referência são enviados
add_header Referrer-Policy "strict-origin-when-cross-origin" always;

# Política de Segurança de Conteúdo (CSP) para mitigar riscos de injeção de scripts
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self';" always;

# Limita o tamanho de uploads para prevenir ataques de negação de serviço
client_max_body_size 10M;
client_body_buffer_size 128k;
Expand Down

0 comments on commit 1a1457a

Please sign in to comment.