Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oowl/ngx_stream_auto_proxy_protocol_module
auto decode proxy_protocol information in nginx stream module
https://github.com/oowl/ngx_stream_auto_proxy_protocol_module
Last synced: 5 days ago
JSON representation
auto decode proxy_protocol information in nginx stream module
- Host: GitHub
- URL: https://github.com/oowl/ngx_stream_auto_proxy_protocol_module
- Owner: oowl
- License: mit
- Created: 2024-03-18T03:59:37.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-18T15:45:51.000Z (10 months ago)
- Last Synced: 2024-11-09T21:24:26.261Z (2 months ago)
- Language: C
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngx_stream_auto_proxy_protocol_module
auto decode proxy_protocol information in nginx stream module## Config
```nginx
#user nobody;
worker_processes 1;#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;#pid logs/nginx.pid;
events {
worker_connections 1024;
}stream {
log_format socks 'access: $proxy_protocol_addr - $proxy_protocol_port - $proxy_protocol_server_addr - $proxy_protocol_server_port - $remote_addr - $remote_port - $proxy_protocol_port';
server {
access_log logs/access.log socks;
listen 0.0.0.0:22345;
auto_proxy_protocol on;
proxy_pass cip.cc:80;
}
}```