parent
c2f1101d7e
commit
fd87a0adae
7 changed files with 24 additions and 90 deletions
@ -1,23 +0,0 @@ |
|||||||
var.logdir = "/var/log/lighttpd" |
|
||||||
var.statedir = "/var/lib/lighttpd" |
|
||||||
|
|
||||||
server.modules = ( |
|
||||||
"mod_access", |
|
||||||
"mod_accesslog", |
|
||||||
) |
|
||||||
|
|
||||||
include "mime-types.conf" |
|
||||||
|
|
||||||
server.document-root = "/srv/http/" |
|
||||||
server.pid-file = "/tmp/lighttpd.pid" |
|
||||||
|
|
||||||
server.errorlog-use-syslog = "enable" |
|
||||||
accesslog.use-syslog = "enable" |
|
||||||
|
|
||||||
server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") |
|
||||||
|
|
||||||
server.port = 8080 |
|
||||||
|
|
||||||
url.access-deny = ("~", ".inc") |
|
||||||
|
|
||||||
server.network-backend = "writev" |
|
@ -0,0 +1,3 @@ |
|||||||
|
setenv.add-response-header = ( |
||||||
|
"Access-Control-Allow-Origin" => "*", |
||||||
|
) |
@ -1,28 +0,0 @@ |
|||||||
var.logdir = "/var/log/lighttpd" |
|
||||||
var.statedir = "/var/lib/lighttpd" |
|
||||||
|
|
||||||
server.modules = ( |
|
||||||
"mod_access", |
|
||||||
"mod_accesslog", |
|
||||||
"mod_setenv", |
|
||||||
) |
|
||||||
|
|
||||||
setenv.add-response-header = ( |
|
||||||
"Access-Control-Allow-Origin" => "*", |
|
||||||
) |
|
||||||
|
|
||||||
include "mime-types.conf" |
|
||||||
|
|
||||||
server.document-root = "/srv/http/" |
|
||||||
server.pid-file = "/tmp/lighttpd.pid" |
|
||||||
|
|
||||||
server.errorlog-use-syslog = "enable" |
|
||||||
accesslog.use-syslog = "enable" |
|
||||||
|
|
||||||
server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") |
|
||||||
|
|
||||||
server.port = 8080 |
|
||||||
|
|
||||||
url.access-deny = ("~", ".inc") |
|
||||||
|
|
||||||
server.network-backend = "writev" |
|
Loading…
Reference in new issue