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.

24 lines
584 B
Plaintext

4 years ago
upstream wifi_proxy {
server frodo.natalieandjoshua.com:80;
}
server {
listen 443;
server_name wifi.natalieandjoshua.com;
location / {
proxy_pass http://wifi_proxy/;
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/letsencrypt/live/wifi.natalieandjoshua.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/wifi.natalieandjoshua.com/privkey.pem;
ssl_protocols TLSv1.2;
}