16 lines
522 B
Markdown
16 lines
522 B
Markdown
This file documents my troubleshooting methodology for configuring nginx to reverse proxy https traffic, and reverse proxy non https traffic on tcp/443.
|
|
|
|
Right now, it appears that I can't do that with one IP because that would require two separate nginx components listening on the same port, or that's what I ascertained from the logs.
|
|
|
|
I modified `/etc/nginx/nginx.conf` to include this block underneath the `http` block:
|
|
```nginx
|
|
stream {
|
|
server {
|
|
listen 443;
|
|
proxy_pass 192.168.0.2:443;
|
|
}
|
|
}
|
|
```
|
|
|
|
## IP Aliasing
|