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