File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed
Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -2701,6 +2701,7 @@ Registry Pull Google Provider Implicit Latest Version
27012701
27022702
27032703Data Flow Sequential Join Paginated Select Github
2704+ [Tags] registry
27042705 Should Horrid Query StackQL Inline Equal
27052706 ... ${STACKQL_EXE}
27062707 ... ${OKTA_SECRET_STR}
Original file line number Diff line number Diff line change 1+
2+
3+ ## Runnning nginx as a pass through TCP proxy
4+
5+ ### Example of proxied stackql.io website
6+
7+ This is a brittle example with ordering super important.
8+
9+ From the root of the repository:
10+
11+ ``` bash
12+
13+ nginx -c $( pwd) /test/tcp/reverse-proxy/nginx/tls-pass-through.conf
14+
15+ ```
16+
17+ ** After** this, if I add this line to ` /etc/hosts ` :
18+
19+ ```
20+ 127.0.0.1 stackql.io
21+ ```
22+
23+ And then,
24+
25+ Then:
26+
27+ ``` bash
28+
29+ curl -vvv https://stackql.io:9900/docs
30+
31+ ```
32+
33+ Then I get the response from stackql.io... which is exactly what is desired.
34+
35+ To stop ` nginx ` :
36+
37+ ``` bash
38+
39+ nginx -s stop
40+
41+ ```
Original file line number Diff line number Diff line change 1+ worker_processes 1;
2+
3+ #error_log logs/error.log;
4+ #error_log logs/error.log notice;
5+ #error_log logs/error.log info;
6+
7+ #pid logs/nginx.pid;
8+
9+
10+ events {
11+ worker_connections 1024;
12+ }
13+
14+ stream {
15+ upstream web_server {
16+ # Our web server, listening for SSL traffic
17+ # Note the web server will expect traffic
18+ # at this xip.io "domain", just for our
19+ # example here
20+ server stackql.io:443;
21+ }
22+
23+ server {
24+ listen 9900;
25+ proxy_pass web_server;
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments