Project

General

Profile

Bug #2548 » epeg1000e.conf

mariannaf, 2014-01-15 10:37

 
1
server.document-root = "/data/www/" 
2
server.port = 443
3

    
4
ssl.engine = "enable"
5
ssl.pemfile = "/etc/ssl_https.pem"
6

    
7
mimetype.assign = (
8
  ".html" => "text/html", 
9
  ".js"   => "text/javascript",
10
  ".css"  => "text/css", 
11
  ".txt" => "text/plain",
12
  ".jpg" => "image/jpeg",
13
  ".gif"  => "image/gif",
14
  ".jpeg" => "image/jpeg",
15
  ".png" => "image/png" 
16
)
17

    
18
server.modules  = (
19
#   "mod_expire",
20
    "mod_setenv",
21
#   "mod_compress",
22
#   "mod_access",
23
#   "mod_accesslog",
24
   "mod_fastcgi",
25
#   "mod_rewrite",
26
   "mod_auth",
27
#   "mod_status",
28
   "mod_optibase"
29
)
30

    
31
setenv.add-response-header = (
32
    "Cache-Control" => "public, must-revalidate"
33
)
34

    
35
etag.use-inode = "enable"
36
etag.use-mtime = "enable"
37
etag.use-size = "enable"
38

    
39
##mod_status settings
40
#status.status-url = "/server-status"
41
#status.statistics-url = "/server-counters"
42
#status.config-url = "/server-config"
43

    
44
##mod_fastcgi settings
45
fastcgi.server = ( ".php" => ( "php-backend" => (
46
                   "bin-path" => "/usr/bin/php-cgi",
47
                   "max-procs" => 1,  	
48
                   "bin-environment" => (
49
                      "PHP_FCGI_CHILDREN" => "1",
50
                      "PHP_FCGI_MAX_REQUESTS" => "500" 
51
                    ),
52
                   "socket" => "/tmp/php.socket"
53
)))
54

    
55
#  server.errorlog       = "/data/www/error.log"
56
        
57
##mod_uploadprogress settings
58
#upload-progress.progress-url = "/progress" 
59
#upload-progress.remove-timeout = 300
60
#upload-progress.debug = "enable" 
61

    
62
## maximum concurrent connections the server will accept (1/2 of server.max-fds)
63
server.max-connections = 16
64
# Maximum number of file descriptors, default = 1024
65
server.max-fds = 32
66
# Maximum number of request within a keep-alive session before the server terminates the connection, default = 16
67
server.max-keep-alive-requests = 4
68
# Maximum number of seconds until an idling keep-alive connection is dropped, default = 5
69
server.max-keep-alive-idle = 4
70
# Maximum number of seconds until a waiting, non keep-alive read times out and closes the connection, default = 60
71
server.max-read-idle = 30
72
# Maximum number of seconds until a waiting write call times out and closes the connection, default = 360
73
server.max-write-idle = 60
74

    
75
server.max-request-size = 50000
76

    
77
server.upload-dirs = ( "/data/www/UploadData" )
78

    
79

    
80
server.network-backend = "writev"
81

    
82
static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
83
index-file.names = ( "index.php" )
84

    
(1-1/2)