Comments (2)
At present, It does not support this feature.
On 2012-1-31 4:49, Kazuhiro Kotsutsumi wrote:
I operate Nginx as reverse proxy and, for the server of the backend, want to transfer header information.
proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
However, an error occurs as follows.
nginx: [emerg] unknown directive "proxy_set_header" in /usr/local/nginx/conf/nginx.conf:XXX
The contents which I set are as follows.
server { server_name _; listen 443; ssl on; ssl_certificate /crtpath; ssl_certificate_key /keypath; tcp_nodelay on; proxy_pass websockets; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
Is not the transfer of the header possible?
Reply to this email directly or view it on GitHub:
#24
Weibin Yao
from nginx_tcp_proxy_module.
I understood it.
I am glad when the function is implemented.
from nginx_tcp_proxy_module.
Related Issues (20)
- What is the tcp proxy's strategy?
- 期待仿照http mirror功能有tcp mirror功能
- gcc 7 failure with -Werror=implicit-fallthrough=
- Tengine 2.2.2 编译报错
- Make fails for nginx-1.15.0 HOT 6
- Doesnt work with recent NGINX builds
- make build error with nginx 1.14.2 HOT 3
- config ?
- The problem when building with nginx-1.14.2 ./configure with --with-threads make error: ‘ngx_event_t’ has no member named ‘lock’
- 在nginx最新版的1.15.9版本上编译报错!找了很多资料都无法解决! HOT 7
- src/http/ngx_http_upstream_round_robin.h:62:37: error: duplicate member ‘check_index’
- nginx: [emerg] "check_shm_size" directive is duplicate
- make error
- Centos7-2009(内核:3.10.0-1160.el7)nginx-1.20.1 + nginx_tcp_proxy_module-0.4.5编译时报错
- nginx 1.20.2 版本编译错误 HOT 3
- server支持配置域名吗 HOT 6
- compile failed.how to resolve it? HOT 3
- Compilation fails with Nginx 1.23 HOT 4
- how to ws to proxy tcp socket?
- FTP proxy configuration in virtual host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx_tcp_proxy_module.