feat(terminal): add persistent browser font size controls
This commit is contained in:
@@ -57,6 +57,11 @@ http {
|
||||
auth_request /api/auth/check;
|
||||
error_page 401 = @term_login;
|
||||
proxy_pass http://127.0.0.1:7681;
|
||||
# Add controls to ttyd's existing client without rebuilding its embedded frontend.
|
||||
proxy_set_header Accept-Encoding "";
|
||||
sub_filter '</head>' '<link rel="stylesheet" href="/terminal-settings.css"></head>';
|
||||
sub_filter '</body>' '<script type="module" src="/terminal-settings.js"></script></body>';
|
||||
sub_filter_once on;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
Reference in New Issue
Block a user