denozord pushed to main at denozord/telemt-api 2026-03-30 00:31:49 +07:00
e1c6b2ab49 Enhance reverse proxy transport configuration for improved performance. Updated reverse.go to set a direct transport for the reverse proxy, ensuring more efficient request handling. Modified gateway.go to utilize the direct transport with customized connection settings, optimizing idle connections and timeouts.
denozord pushed to main at denozord/telemt-api 2026-03-30 00:30:03 +07:00
5934d059a4 Refactor reverse proxy tests to utilize context-aware requests. Updated reverse_test.go to create HTTP requests using context, improving test reliability and aligning with best practices for request handling. This change ensures that tests are more robust and less prone to issues related to request context.
denozord pushed to main at denozord/telemt-api 2026-03-30 00:27:46 +07:00
fba3302079 Update reverse proxy tests to use absolute URLs for requests. Modified reverse_test.go to ensure that requests are constructed with the server's URL, preventing issues with the default "example.com" host in httptest. This change enhances the reliability of the tests by ensuring correct request handling.
denozord pushed to main at denozord/telemt-api 2026-03-30 00:24:37 +07:00
4f91c7227e Clear RequestURI in reverse proxy to prevent client RoundTrip rejection. Updated reverse.go to ensure that server-side requests do not carry RequestURI, enhancing compatibility with client requests.
denozord pushed to main at denozord/telemt-api 2026-03-30 00:21:18 +07:00
5a9b402220 Refactor reverse proxy path handling and enhance documentation. Updated reverse.go to improve upstream URL construction and added a new test for nested API routes in reverse_test.go. Revised GATEWAY_RUN.md to clarify API path behavior and configuration requirements for Nginx. Adjusted comments in config.example.yaml for better understanding of HTTPS and API prefix usage.
denozord pushed to main at denozord/telemt-api 2026-03-30 00:04:46 +07:00
16b1d8148d Refactor reverse proxy to support API base path and update example configuration. Changed base URLs in config.example.yaml to use HTTPS and the new /api/ prefix. Enhanced reverse proxy logic in reverse.go to build upstream paths correctly and added a new test for path rewriting with the API base path in reverse_test.go.
denozord pushed to main at denozord/telemt-api 2026-03-30 00:00:55 +07:00
e58f504395 Enhance configuration and documentation for CIDR and IP handling. Updated config.example.yaml to include additional whitelisted IPs and new server entries. Improved GATEWAY_RUN.md to clarify CIDR and single IP usage. Implemented parseCIDROrIP function in config.go for better validation of IP formats in whitelist and trusted proxies.
denozord pushed to main at denozord/telemt-api 2026-03-29 23:03:55 +07:00
073d2b2c09 Update docker-compose.yml and documentation to use pre-built Docker image from Gitea registry. Removed local build instructions in favor of pulling the latest image. Enhanced README.md and GATEWAY_RUN.md with updated usage instructions for Docker CLI and Compose.
denozord pushed to main at denozord/telemt-api 2026-03-29 22:59:23 +07:00
218fa09402 Update README.md to clarify instructions for editing config.yaml
denozord pushed to main at denozord/telemt-api 2026-03-29 22:54:24 +07:00
e9701ca9da Update Docker configuration and documentation for Linux compatibility. Added extra_hosts for Docker Compose and updated GATEWAY_RUN.md to reflect changes in running commands for Linux. Enhanced GitHub Actions workflow for building and pushing Docker images.
denozord created branch main in denozord/telemt-api 2026-03-29 22:51:07 +07:00
denozord pushed to main at denozord/telemt-api 2026-03-29 22:51:07 +07:00
91f289c647 Init
denozord created repository denozord/telemt-api 2026-03-29 22:24:47 +07:00
denozord pushed to main at denozord/telemt-bot 2026-03-24 00:01:22 +07:00
eec4ac8b4f Update SYNC_SETUP.md to include gt3.ivx.su as a new replica server for config.toml synchronization. Adjust instructions for preparing B servers and initial synchronization to reflect the addition of the new server.
denozord pushed to main at denozord/cloudflare_balancer 2026-03-23 17:49:00 +07:00
fecdb6bccd Refactor Docker workflow to utilize secrets for PACKAGE_TOKEN, improving security in authentication process.
denozord pushed to main at denozord/cloudflare_balancer 2026-03-23 17:47:38 +07:00
de51d61de7 Update Docker workflow to use PACKAGE_TOKEN for authentication instead of token. This change enhances security by using a more specific token for package access.
denozord pushed to main at denozord/cloudflare_balancer 2026-03-23 17:43:47 +07:00
a151c20049 Enhance README and Docker workflow with detailed explanations on registry authentication, workflow triggers, and optional container update webhook. Updated job permissions and streamlined Docker image build and push process.
denozord pushed to main at denozord/cloudflare_balancer 2026-03-23 17:39:56 +07:00
ce99072937 Update README and Docker workflow to clarify registry login process and handling of secrets. Added explanation for why certain steps are not skipped in workflows, and improved the logic for logging in and pushing to the Container Registry.
denozord created branch main in denozord/cloudflare_balancer 2026-03-23 17:31:33 +07:00
denozord pushed to main at denozord/cloudflare_balancer 2026-03-23 17:31:33 +07:00
2671e90d20 Init Commit