port 443 https://munetaka.me:443
server { server_name munetaka.me:443; charset utf-8;
location / {
proxy_pass http://127.0.0.1:8088;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host munetaka.me;
proxy_set_header X-Forwarded-Port 8088;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/munetaka.me/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/munetaka.me/privkey.pem; # managed by Certbot
}