I am assuming that you would like to setup ajaxterm to a remote server & not really localhost.
Налаштування на URL-адресу like/ajaxterm буде складно, але ви можете легко налаштувати його на субдомені, наприклад ajaxterm.yourserver.com, з наступними рядками в директиві http у nginx
server {
listen 80;
server_name ajaxterm.yourserver.com;
location/{
proxy_pass http://127.0.0.1:8022;
proxy_redirect default;
}
}
This should get you http://ajaxterm.yourserver.com running for you. To get it running on https, you can tweak the instructions for apache here