hoogi.eu

Small simple Blog engine written in Golang

Main purpose of this project is to get some knowledge about the golang language.

Features

Installation

Database / User creation

Configuration

Consider to use a webserver with reverse proxy functionality to have more TLS options.

Sample lighttpd reverse proxy tested with version 1.4.53

server.modules += (
        [...]
	"mod_proxy",
	"mod_openssl",
)

$SERVER["socket"] == "[::]:443" {
	ssl.engine                  = "enable" 
	ssl.pemfile                 = "/etc/letsencrypt/live/hoogi.eu/combined.pem"
	ssl.ca-file                 = "/etc/letsencrypt/live/hoogi.eu/fullchain.pem"
	ssl.use-sslv2 = "disable"
	ssl.use-sslv3 = "disable"

	ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4"

	ssl.use-compression     = "disable"
	ssl.dh-file = "/etc/lighttpd/dhparam.pem" 
	ssl.ec-curve = "secp384r1"
}

...

$HTTP["host"] = "yourdomain.de" {
    proxy.server  = ( "" => ( ( "host" => "127.0.0.1", "port" => "4730" ) ) )
}

Found a bug? Let me know.