These are some guides for various use.
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.

37 lines
1.0 KiB

  1. # Gopherproxy
  2. ## Setup Proxy
  3. ### Docker
  4. The official container and documentation was made by [prologic](https://hub.docker.com/r/prologic/gopherproxy).
  5. #### Ports
  6. Set the following ports with the -p tag.
  7. | Container Port | Recommended outside port | Protocol | Description |
  8. | -------------- | ------------------------ | -------- | ---------------------------------------- |
  9. | `8000` | `8000` | TCP | port to proxy the gopher site as http to |
  10. #### Additional
  11. There are some special variables to set.
  12. | Flag | Usage |
  13. | ------ | ------------------------------------------------------------- |
  14. | `-uri` | define the gopher site to proxy (just 'domain.tld' is enough) |
  15. #### Rebuild
  16. ```shell
  17. #!/bin/sh
  18. docker stop gopheroverhttp
  19. docker rm gopheroverhttp
  20. docker pull prologic/gopherproxy
  21. docker run --name gopheroverhttp \
  22. --restart unless-stopped \
  23. -p 8000:8000 \
  24. -d prologic/gopherproxy \
  25. -uri 'domain.tld'
  26. ```