Skip to content

Instantly share code, notes, and snippets.

@tgeek77

tgeek77/httpd.conf

Created Jan 5, 2020
Embed
What would you like to do?
OpenBSD httpd.conf for 3 onion services
## Template commented out at the beginning
#server "www.example.com" {
# listen on * port 80
# root "/htdocs/www.example.com"
#}
#
#server "example.com" {
# listen on * port 80
# block return 301 "http://www.example.com$REQUEST_URI"
#}
#
## Include additional MIME types
#types {
# include "/usr/share/misc/mime.types"
#}
## Site 1
server "tpsh5cb4zl73pwymkkuopl4roibk4envf6k3ybdcdzuhuztrytsnxxqd.onion" {
listen on * port 8080
root "/htdocs/tpsh5cb4zl73pwymkkuopl4roibk4envf6k3ybdcdzuhuztrytsnxxqd.onion"
}
# Include additional MIME types
types {
include "/usr/share/misc/mime.types"
}
## Site 2
server "ueaireabdst7uqupz5dlrt5vhltgid3wyz4esgwd7buug7nc2absawyd.onion" {
listen on * port 8081
root "/htdocs/ueaireabdst7uqupz5dlrt5vhltgid3wyz4esgwd7buug7nc2absawyd.onion"
}
## Site 3
server "r6udfh5el5bigkpnh7twtsx3j6w6cxmyexlaa23vacqugq7jo6hxlryd.onion" {
listen on * port 8082
root "/htdocs/r6udfh5el5bigkpnh7twtsx3j6w6cxmyexlaa23vacqugq7jo6hxlryd.onion"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.