Skip to content

simple tool but not good, u can use ingress with traefik or nginx

Notifications You must be signed in to change notification settings

ChenHaoHu/domain-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

domain-gateway

simple tool but not good, u can use ingress with traefik or nginx

nginx.conf

# dev env
lua_code_cache off;

location / {
  default_type text/html;
  set $url '';
  # your nginx must support lua , u can choose openresty
  rewrite_by_lua_file /root/nginx/openresty/lua/gateway.lua;  
  proxy_pass $url;
  proxy_set_header Host $host:$server_port;
}

About

simple tool but not good, u can use ingress with traefik or nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages