- Support http/https proxy
- Support ws/wss proxy
- Response use json for multiple requests.
It's application configuration file.
# Server port
port:
proxy_http: 55550
proxy_ws: 55551
api_http: 55552It's proxy http configuration file.
# Example-1
- location: /helios_pub
connect_timeout: 3000
idle_timeout: 3000
targets:
- http://127.0.0.1:55402
# Example-2
- location: /helios_api
connect_timeout: 3000
idle_timeout: 3000
targets:
- http://127.0.0.1:55403
- http://127.0.0.1:55403
# Example-3
- location: /thumbly_api
connect_timeout: 3000
idle_timeout: 3000
targets:
- http://127.0.0.1:57911It's proxy websocket configuration file.
# Example-1
- location: /helios_pub
targets:
- ws://127.0.0.1:55401It's Logback configuration file that is famous logging library.
- You can send error log to Telegram.
- Uncomment Telegram configuration.
- Set value of
<botToken>and<chatId>.<appender name="TELEGRAM" class="com.github.paolodenti.telegram.logback.TelegramAppender"> <botToken></botToken> <chatId></chatId> ... </appender>
- Insert
<appender-ref ref="TELEGRAM"?url=https%3A%2F%2Fgithub.com%2F%26gt%3B%3C%2Fcode%3E+into+%3Ccode%3E%26lt%3Broot%26gt%3B%3C%2Fcode%3E%0A%3Cdiv+class%3D"highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<root level="WARN"> <appender-ref ref="FILE"/> <appender-ref ref="TELEGRAM"/> </root>"><root level="WARN"> <appender-ref ref="FILE"/> <appender-ref ref="TELEGRAM"/> </root>