1
0
Fork 0
mirror of synced 2024-06-15 09:14:50 +12:00

Enabled compression

This commit is contained in:
Eldad Fux 2020-07-02 09:44:16 +03:00
parent c3fb15abb9
commit 214b551d32

View file

@ -15,7 +15,7 @@ ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$http = new Server("localhost", 80);
$http = new Server("localhost", 9501);
$http
->set([
@ -23,6 +23,8 @@ $http
'document_root' => __DIR__ . '/../public',
'enable_static_handler' => true,
'timeout' => 4,
'http_compression' => true,
'http_compression_level' => 6,
])
;