Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yorkie/nginx-lang-redirect.lua
The Lua Script for supporting language redirections working with proxy_pass for Nginx/OpenResty
https://github.com/yorkie/nginx-lang-redirect.lua
Last synced: 5 days ago
JSON representation
The Lua Script for supporting language redirections working with proxy_pass for Nginx/OpenResty
- Host: GitHub
- URL: https://github.com/yorkie/nginx-lang-redirect.lua
- Owner: yorkie
- Created: 2015-05-07T09:18:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-11T08:14:14.000Z (over 9 years ago)
- Last Synced: 2024-10-19T19:22:37.614Z (24 days ago)
- Language: Lua
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nginx-lang-redirect.lua
The Lua Script for supporting language redirections for Nginx/OpenResty.
## Dependencies
- nginx >= 1.7.*
- [OpenResty](http://openresty.org/)## Example conf
```
location / {
rewrite_by_lua_file "path/to/lang.lua";
proxy_pass "http://backend.server"
}
```## License
MIT