up
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Configuración SSE para HestiaCP
|
||||
# Colocar este archivo en: /api/.htaccess
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
# Deshabilitar buffering para SSE
|
||||
Header set Cache-Control "no-cache, no-store, must-revalidate"
|
||||
Header set X-Accel-Buffering "no"
|
||||
Header set Connection "keep-alive"
|
||||
|
||||
# Permitir CORS si es necesario
|
||||
# Header set Access-Control-Allow-Origin "*"
|
||||
# Header set Access-Control-Allow-Credentials "true"
|
||||
|
||||
# Deshabilitar compresión
|
||||
SetEnv no-gzip 1
|
||||
</IfModule>
|
||||
|
||||
# Aumentar timeouts para SSE
|
||||
<IfModule mod_fcgid.c>
|
||||
FcgidIOTimeout 300
|
||||
FcgidConnectTimeout 300
|
||||
</IfModule>
|
||||
|
||||
# Desactivar mod_security para SSE (si causa problemas)
|
||||
<IfModule mod_security2.c>
|
||||
SecRuleEngine Off
|
||||
</IfModule>
|
||||
|
||||
# Prevenir que Apache cierre la conexión
|
||||
RewriteEngine Off
|
||||
Options -MultiViews
|
||||
|
||||
# PHP settings
|
||||
php_value max_execution_time 300
|
||||
php_value max_input_time 300
|
||||
Reference in New Issue
Block a user