Tree
- Tree:
6298b29cbefeb9d2d0ae463558ebe0873a883e27
- Date:
- Message:
- relax the "wont proxy request" check: don't check the port number Don't refuse to serve the request if the port number doesn't match the one we're listening on, as initially suggested by Allen Sobot. Complex setup may have a gmid instance reachable from multiple ports and the meaning of the check in the first places was to avoid tricking clients into thinking that we're serving for those domains: the port number is way less important than the schema or domain name. In the long run, the best way would probably to add a `listen on' keyword for the servers blocks, just like OpenBSD' httpd, but gmid can't listen on multiple ports/interfaces yet
Dockerfile | commits | blame |
README | commits | blame |
gencert* | commits | blame |
gmid* | commits | blame |
gmid.service | commits | blame |
renew-certs* | commits | blame |
vim/ |
README
This directory is for additional contributed files which may be useful. Dockerfile Sample Dockerfile to build alpine-based gmid images. gencert Simple shell script to generate self-signed certificates. gmid Sample rc(8) script for OpenBSD, to be placed in /etc/rc.d. gmid.service Simple systemd service file. renew-certs Flexible script meant to be run in a cronjob to watch for cert expiration. It can optionally regen the (self-signed) certificate in place and restart the server too. vim Syntax highlighting of gmid configuration for vim, to be placed into ~/.vim/ or /usr/share/vim/vimfiles/. To enable Syntastic checker, put this line in your vimrc: let g:syntastic_gmid_checkers = ['gmid']