selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

apisix logo

Self-host apisix

3.19.0

Dynamic NGINX-based gateway for APIs, traffic and LLMs

ReleaseOpen SourceApache-2.0
curl -sL https://run.api7.ai/apisix/quickstart | sh
Updatedlast month
LanguageLua
Setup difficultyModerate
Stars
17 310
Ports
9080 (Data plane HTTP listener for proxied client requests (node_listen)), 9443 (HTTPS listener), 9180 (REST Admin API (localhost-only by default, key authenticated)), 9091 (Prometheus metrics endpoint), 9092 (Control API)
Requires
etcd
Docker
apache/apisix
apisix screenshot 1

What is apisix?

apisix alternatives

Should you self-host apisix?

apisix scores 79/100 on selfhost.directory (how scoring works) and ranks #2 of 39 in API Gateway. It has 17 310 GitHub stars, +109 in the last 30 days.

It shipped 5 stable releases in the past year. The latest, 3.19.0, came out on 28 September 2026. New versions land roughly every 2 months.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Lua.

Its closest alternative on selfhost.directory is Kong Gateway (82/100, 44 373 stars). It scores higher overall, so compare the two before you pick. See apisix vs Kong Gateway side by side.

Features

  • AI gateway for LLM traffic
  • API authentication and authorization
  • Canary release and traffic splitting
  • Dynamic routing
  • Dynamic TLS certificates
  • Dynamic upstream and load balancing
  • External log shipping
  • Health checks and circuit breaking
  • Hot plugin reload
  • Metrics, tracing and observability
  • Multi-language plugin developmentWebAssembly path is described as experimental.
  • Multi-protocol proxying
  • Rate Limiting
  • REST Admin API
  • Standalone YAML configuration

apisix README

Apache APISIX API Gateway | AI Gateway

APISIX logo

Build Status License GitHub release GitHub stars Docker Pulls Commit activity GitHub issues Slack

Apache APISIX is a dynamic, real-time, high-performance API Gateway.

How to install apisix

Install apisix with Docker

Docker
curl -sL https://run.api7.ai/apisix/quickstart | sh

Starts APISIX together with an etcd container using Docker host network mode.

How to configure apisix

  • node_listen9080HTTP port(s) the data plane listens on for client traffic; several entries open several listeners.

    values: single port or list of ports

  • roletraditionalNode role: traditional, data_plane or control_plane.

    values: traditional | data_plane | control_plane

  • config_provideretcdConfiguration source for the chosen role (etcd, or local yaml in standalone mode).

    values: etcd | yaml

  • admin_keyName/key/role entries that authenticate Admin API callers; an empty key is autogenerated and written back.
  • allow_admin127.0.0.0/24IP ranges permitted to call the Admin API.

    values: CIDR list

apisix releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How do I configure Apache APISIX to listen on multiple ports when handling HTTP or HTTPS requests?

Add extra ports under apisix.node_listen for HTTP and under apisix.ssl.listen for HTTPS in conf/config.yaml, then reload or restart APISIX.

How do I reload my custom Plugins for Apache APISIX?

No manual reload is needed — all plugins are hot reloaded.

How do I change Apache APISIX’s log level?

Set nginx_config.error_log_level in conf/config.yaml (the default is warn) and reload the gateway.

How do I redirect HTTP traffic to HTTPS with Apache APISIX?

Set http_to_https to true on the redirect plugin, use vars-based advanced routing with a 301 redirect, or run a serverless function in the rewrite phase.

How can I make a gray release with Apache APISIX?

Split users by request conditions either with the vars field on routes (for example on a query argument) and a redirect plugin, or with the traffic-split plugin.

How do I build the APISIX-Runtime environment?

Features that need extra NGINX modules require APISIX-Runtime, which can be built by following the code in the api7/apisix-build-tools repository.

When installing Apache APISIX dependencies with LuaRocks, why does it cause a timeout or result in a slow or unsuccessful installation?

The LuaRocks server in use may be blocked; use https_proxy, the --server flag with a faster mirror such as luarocks.cn, or --verbose for a detailed log.

Why does Apache APISIX use etcd for the configuration center?

Besides storing configuration, APISIX needs clustered deployment, guarded transactions, multi-version concurrency control, watch notifications and low read/write latency, which etcd provides.

Can I write my own Plugins for Apache APISIX?

Yes, the gateway is extensible through custom plugins, following the “how to write your own Plugins” guide.

Does Apache APISIX have a user interface?

Yes, configuration can be managed through the APISIX Dashboard user interface.

What does it mean by “Apache APISIX is fully dynamic”?

Behaviour changes take effect without restarting the gateway: plugin reloading, proxy rewrites and mirrors, response rewrites, health checks and traffic splitting all happen dynamically.

Which platforms does Apache APISIX support?

It is platform agnostic, built for cloud native environments and runs anywhere from bare metal to Kubernetes, including Apple Silicon chips.

What is the performance impact of using Apache APISIX?

The FAQ quotes a single-core throughput of 18,000 QPS with an average delay of 0.2 ms, with full benchmark results in the benchmark documentation.

How does Apache APISIX differ from other API gateways?

It stores and synchronizes configuration in etcd instead of PostgreSQL or MySQL, is fully dynamic, and hot-loads plugins.

Why do I need a new API gateway?

Cloud-native microservices need a gateway that is performant, flexible, secure and scalable; APISIX claims to beat other gateways on those metrics while staying platform agnostic and fully dynamic.

More in API Gateway

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…