You can not 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 Add missing backslash to readme command 6 months ago
public Initial commit 6 months ago
.gitignore Add main.wasm to gitignore 6 months ago
README.md Add missing backslash to readme command 6 months ago
go.mod Initial commit 6 months ago
main.go Initial commit 6 months ago
mime.types Initial commit 6 months ago
nginx.conf Initial commit 6 months 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