Skip to content

Commit 5c095d0

Browse files
committed
Remove json da lista de bloqueio de arquivos
1 parent 6b4fabb commit 5c095d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/production/nginx/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ server {
4343
}
4444

4545
# Bloqueia arquivos ativos/executáveis ou não recomendados em diretórios de upload.
46-
location ~* ^/files/.*\.(?:php[0-9]?|phtml|phar|cgi|pl|py|sh|bash|exe|dll|so|bin|bat|cmd|msi|jar|class|jsp|asp|aspx|js|css|html?|shtml|svg|xml|json|yaml|yml|env|ini|log|sql|bak|old|tmp|swp|exp|apk)$ {
46+
location ~* ^/files/.*\.(?:php[0-9]?|phtml|phar|cgi|pl|py|sh|bash|exe|dll|so|bin|bat|cmd|msi|jar|class|jsp|asp|aspx|js|css|html?|shtml|svg|xml|yaml|yml|env|ini|log|sql|bak|old|tmp|swp|exp|apk)$ {
4747
deny all;
4848
return 403;
4949
}

0 commit comments

Comments
 (0)