Nekobit on Nostr: Does anyone know how to do something like (js|css|png) for OpenBSD Httpd server ...
Does anyone know how to do something like (js|css|png) for OpenBSD Httpd
server "default" {
listen on * port 80
root "htdocs/treebird"
location "/*\.css" { root "htdocs/treebird" }
location "/*\.png" { root "htdocs/treebird" }
location "/js/*\.js" { root "htdocs/treebird" }
location "/*" {
fastcgi socket tcp localhost 4008
}
}
server "default" {
listen on * port 80
root "htdocs/treebird"
location "/*\.css" { root "htdocs/treebird" }
location "/*\.png" { root "htdocs/treebird" }
location "/js/*\.js" { root "htdocs/treebird" }
location "/*" {
fastcgi socket tcp localhost 4008
}
}