diff options
author | Omar Polo <op@omarpolo.com> | 2021-04-29 18:23:35 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-04-29 18:23:35 +0000 |
commit | cc8c2901ad544d336374887451dc8c85a5ae1264 (patch) | |
tree | 46f42e9929fd44cf9bf94a9a2b6a81de2f72a517 /gmid.h | |
parent | 8e8b2e252c37a1e633c33ac923ab78c3f1e8ab31 (diff) |
added ``alias'' option to define hostname aliases for a server
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -80,6 +80,12 @@ struct envlist { TAILQ_ENTRY(envlist) envs; }; +TAILQ_HEAD(aliashead, alist); +struct alist { + char *alias; + TAILQ_ENTRY(alist) aliases; +}; + extern TAILQ_HEAD(vhosthead, vhost) hosts; struct vhost { const char *domain; @@ -98,6 +104,7 @@ struct vhost { struct lochead locations; struct envhead env; + struct aliashead aliases; }; struct etm { /* extension to mime */ |