diff options
author | Omar Polo <op@omarpolo.com> | 2021-12-29 20:36:54 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-12-29 20:36:54 +0000 |
commit | 72b033ef18ae3f82922f6f11ce0f5194e95f667d (patch) | |
tree | 5f06b0c70851aa17f17251579adb65a66a8081ca /Makefile | |
parent | 054387bb26e75cef12e8dc0f531e7ee42614edd7 (diff) |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ y.tab.c: parse.y ${YACC} -b y parse.y SRCS = gmid.c iri.c utf8.c ex.c server.c sandbox.c mime.c puny.c \ - utils.c log.c dirs.c fcgi.c + utils.c log.c dirs.c fcgi.c proxy.c OBJS = ${SRCS:.c=.o} y.tab.o ${COMPAT} gmid: ${OBJS} |