Commits
- Commit:
7bdcc91ec70ddde092ac5d7b4f75d54915e7b221
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify the proxying code
it doesn't make any sense to keep the proxying info per-location:
proxying only one per-vhost. It can't work differently, it doesn't make
sense anyway.
- Commit:
d49093c105e7e9af2638bce945374ac0036b3498
- From:
- Omar Polo <op@omarpolo.com>
- Date:
support optional client certificate for proxy rule
- Commit:
da2185f37f70f8665c4d800f8f9bbf4027fd7b81
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move proxy sub-options to their own rule and allow grouping with { ... }
- Commit:
72b033ef18ae3f82922f6f11ce0f5194e95f667d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add ability to proxy requests
Add to gmid the ability to forwad a request to another gemini server and
thus acting like a reverse proxy. The current syntax for the config
file is
server "example.com" {
...
proxy relay-to host:port
}
Further options (like the use of custom certificates) are planned.
cf. github issue #7
- Commit:
ff05125eb81e5bbf2cf05b8434d03bce584936e0
- From:
- Stephen Gregoratto <dev@sgregoratto.me>
- Via:
- omar-polo <op@omarpolo.com>
- Date:
Implement OCSP stapling support
Currently dogfooding this patch at gemini.sgregoratto.me. To test,
run the following command and look for the "OCSP response" header:
openssl s_client -connect "gemini.sgregoratto.me:1965" -status
- Commit:
f0a01fc742e83b3f4736b5d64af3ab18148afc5a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
two -n to dump the parsed configuration
This adds a barebone dumping of the parsed configuration. It is not
complete, but I'm interested in dumping the full path to `cert' and
`key' in order to write some scripts that can inspect the
configuration, extract the certificates and renew them when expired
automatically.
It's not easy to parse gmid configuration otherwise because the syntax
is flexible and users can use macros. Instead, the idea is to run
gmid and let it dump the configuration once it's been parsed in a
static and predictable format.
Now is possible to parse gmid configuration with, say, awk or perl.
- Commit:
83272dfee9eb5292ce21de55ebdbb3876a37fcb1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't yyerror if we can't open the file
the global var file could still be NULL and yyerror would crash.
- Commit:
abc8801d6064304c627cd75ed1f8c585d51346de
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
c74c70304decdc06d050ea4ef3aac1914d3908e0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop leading T from token names
- Commit:
9a818eebc193a0f891c3fb57034bf6ad367e8d25
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort tokens
- Commit:
f3966209e5941ee3139425c5e375d373c1026923
- From:
- Anna “CyberTailor” <cyber@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
contrib/vim: add Syntastic integration
Error and warning messages are prefixed with "error: " and "warning: "
correspondingly to ease integration with automated tooling.
`yywarn' function added. Off-by-one line numbers in warnings are fixed.
Two error messages are reworded to avoid repeating like
"error: error in server directive" or "error: syntax error".
- Commit:
391825e3604deef4c9dc3267dc2b6c89fc79958a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move parse_portno to gmid.c
it's used only to parse the -p flag. While there add check_port_num
to check the range for the port.
- Commit:
e3b2a0f8de7210c4d403cf4c30d956c34d8c9353
- From:
- Omar Polo <op@omarpolo.com>
- Date:
missing newline in deprecation notice
- Commit:
1bd706dc4150dbcb42d48b98854e46a78ceda861
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unsigned
it causes a cascade of warnings on some architectures. Also, for what
we're doing here, the signed/unsigned property isn't important.
- Commit:
67f494057aa3a0a32cc4d948cff2f27ef9de2340
- From:
- Omar Polo <op@omarpolo.com>
- Date:
@-macros, rollback changes to strings and optional semicolons
* expand $-macros as string, only the new @-macros get expanded as-is
* rollback changes to characters allowed in bare strings
* optional semicolons in optnl, useful for readable @-macros