mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-24 19:54:22 +01:00
server: add auth proxy support
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <libwebsockets.h>
|
||||
#include <stdbool.h>
|
||||
#include <uv.h>
|
||||
|
||||
@@ -58,6 +59,7 @@ struct server {
|
||||
int client_count; // client count
|
||||
char *prefs_json; // client preferences
|
||||
char *credential; // encoded basic auth credential
|
||||
char *auth_header; // header name used for auth proxy
|
||||
char *index; // custom index.html
|
||||
char *command; // full command line
|
||||
char **argv; // command with arguments
|
||||
|
||||
Reference in New Issue
Block a user