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.
23 lines
548 B
Plaintext
23 lines
548 B
Plaintext
7 years ago
|
upstream squeeze_proxy {
|
||
|
server peregrin.natalieandjoshua.com:9000;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 443;
|
||
|
server_name squeeze.ovalwonder.com;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://squeeze_proxy/;
|
||
|
proxy_http_version 1.1;
|
||
|
proxy_set_header Upgrade $http_upgrade;
|
||
|
proxy_set_header Connection "upgrade";
|
||
|
}
|
||
|
|
||
|
|
||
|
ssl on;
|
||
|
ssl_certificate /etc/letsencrypt/live/squeeze.ovalwonder.com/fullchain.pem;
|
||
|
ssl_certificate_key /etc/letsencrypt/live/squeeze.ovalwonder.com/privkey.pem;
|
||
|
ssl_protocols TLSv1.2;
|
||
|
|
||
|
}
|