You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
656 B
Plaintext
26 lines
656 B
Plaintext
2 years ago
|
upstream wifi2_proxy {
|
||
|
server 10.42.42.47:80;
|
||
|
# server ori.natalieandjoshua.com:80;
|
||
|
# server thorin.natalieandjoshua.com:80;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443;
|
||
|
server_name wifi2.natalieandjoshua.com;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://10.42.42.47:80/;
|
||
|
proxy_http_version 1.1;
|
||
|
proxy_set_header Upgrade $http_upgrade;
|
||
|
proxy_set_header Connection "upgrade";
|
||
|
proxy_set_header Host $http_host;
|
||
|
}
|
||
|
|
||
|
|
||
|
ssl on;
|
||
|
ssl_certificate /etc/dehydrated/certs/wifi2.natalieandjoshua.com/fullchain.pem;
|
||
|
ssl_certificate_key /etc/dehydrated/certs/wifi2.natalieandjoshua.com/privkey.pem;
|
||
|
ssl_protocols TLSv1.2;
|
||
|
|
||
|
}
|