Created
October 15, 2016 21:22
-
-
Save damoun/302daec942304288a20b39047b6cbf9f to your computer and use it in GitHub Desktop.
OpenBSD httpd configuration for Rainloop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
types { include "/usr/share/misc/mime.types" } | |
server "webmail.exemple.com" { | |
listen on egress port 80 | |
listen on egress tls port 443 | |
tls certificate "/etc/ssl/webmail.exemple.com.crt" | |
tls key "/etc/ssl/private/webmail.exemple.com.key" | |
location "/data*" { block } | |
location "/rainloop*" { | |
root { "/htdocs/rainloop/rainloop", strip 1 } | |
} | |
location "/*" { | |
root { "/htdocs/rainloop/index.php" } | |
fastcgi socket "/run/rainloop.sock" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment