Compare commits
2 Commits
c0de012044
...
d7d59322c5
Author | SHA1 | Date | |
---|---|---|---|
d7d59322c5 | |||
15945c08f7 |
14
misc/lighttpd.conf
Normal file
14
misc/lighttpd.conf
Normal file
@ -0,0 +1,14 @@
|
||||
server.modules += ("mod_proxy")
|
||||
$HTTP["host"] == "domain.tld" {
|
||||
$HTTP["url"] =~ "^/dijkstra/" {
|
||||
proxy.server = ( "" =>
|
||||
( "internal" =>
|
||||
(
|
||||
"host" => "localhost",
|
||||
"port" => 6802
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ static void dijkstra_serv_soup_callback (SoupServer *server,
|
||||
return;
|
||||
}
|
||||
|
||||
if (strlen(path) > 20) {
|
||||
if (strlen(path) > 40) {
|
||||
soup_message_set_status (msg, SOUP_STATUS_BAD_REQUEST);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user