Certbot renew doesn't work :(

You are exactly right, I changed my dns ip to aws lightsail(like ec2) server it works properly. then.. I need to set up workaround way for acme-challenge. It might be reverse-proxy to lightsail server from my local pc for only acme-challange.


upstream obible.kr {
    server 43.202.89.151:80;
}
server {
...
    location ~ /\.well-known/acme-challenge/ {
        allow all;
        proxy_pass http://obible.kr;
    }
}

I was trying to pass acme-challenge like this. But it doesn't work..
It doesn't create acme-challange file in that server.
How can I pass acme-challange with another server??
Is it possible?