goStatic icon indicating copy to clipboard operation
goStatic copied to clipboard

A really small static web server for Docker

Results 26 goStatic issues
Sort by recently updated
recently updated
newest added

If I'm hosting a static single page app, this package is a godsend, appreciate it so much. My question comes when this SPA makes cross-domain calls to an api server;...

gostatic is a very useful tool to publish files on the fly for testing. However putting files into the container in a kubernetes environement is not that easy as "kubectl...

This controls what happens when someone tries to request a path which is just a directory (not a file): When true (default), responds with a browsable directory listing (current behavior)...

upx is no longer available in the debian repos fixes #63

`docker build .` ``` > [builder 4/4] RUN mkdir ./bin && apt-get update && apt-get install -y upx && GOOS=$(echo linux/amd64 | cut -f1 -d/) && GOARCH=$(echo linux/amd64 | cut...

Was running successfully on fly.io but then set ` entrypoint = ["/goStatic", "-fallback", "index.html"]` Now I see ``` 2023-11-13T23:18:12Z app[48ed43dc20e198] lhr [info] INFO Preparing to run: `/goStatic -fallback index.html` as...

I host a static site on Fly.io using goStatic and I want to use custom headers (by providing the argument `-header-config-path string`). This is the Dockerfile: ```docker FROM pierrezemb/gostatic COPY...

This allows reading in `env` variables to set goStatic arguments. Updated README with some more info. Was not able to test this in Docker (not too familiar with the build...

I use goStatic in a docker/traefik setup where goStatic serves as errorpages and a catch-all. So any route that isn't matched by traefik will get routed to goStatic. The setup...