aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristoph Liebender <christoph.liebender@posteo.de>2024-06-17 20:47:24 +0000
committerOmar Polo <op@omarpolo.com>2024-06-17 20:47:24 +0000
commit3db5bc7ccbc3fea3868a31926a338d7909220bba (patch)
treefb388c898a6946647356cac4139baf44b809317b /Makefile
parentbe3218cb6df5fc444b1aa9add2fb7d287dcf4ebf (diff)
add support for the proxy protocol v1
This allows to use proxies like nginx or haproxy in front of gmid and still have the correct information about the originating client. This will need explicit opt-in via the `proxy-v1' listen flag which will be added in a follow-up commit. Merges https://github.com/omar-polo/gmid/pull/30
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 592b682..6a16056 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,12 @@ COBJS = ${COMPATS:.c=.o}
GMID_SRCS = gmid.c config.c crypto.c dirs.c fcgi.c iri.c log.c \
logger.c mime.c proc.c proxy.c puny.c sandbox.c \
- server.c utf8.c utils.c y.tab.c
+ server.c utf8.c utils.c y.tab.c proxy-proto.c
GMID_OBJS = ${GMID_SRCS:.c=.o} ${COBJS}
GEMEXP_SRCS = ge.c config.c crypto.c dirs.c fcgi.c iri.c log.c mime.c \
- proc.c proxy.c puny.c sandbox.c server.c utf8.c utils.c
+ proc.c proxy.c puny.c sandbox.c server.c utf8.c utils.c proxy-proto.c
GEMEXP_OBJS = ${GEMEXP_SRCS:.c=.o} ${COBJS}