You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hugo Thunnissen 2bdf31f451 | 3 years ago | |
---|---|---|
public | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
go.mod | 3 years ago | |
main.go | 3 years ago | |
mime.types | 3 years ago | |
nginx.conf | 3 years ago |
README.md
Wasm attempt
build:
GOOS=js GOARCH=wasm go build -o public/main.wasm
Run webserver:
docker run -ti \
--net=host \
-v "$(pwd)/mime.types":/etc/nginx/mime.types:ro \
-v "$(pwd)"/nginx.conf:/etc/nginx/sites-enabled/default \
-v "$(pwd):$(pwd)" \
hugotty/nginx:latest