I have implemented https on my website.
I have the following html code on multiple pages on my webshop in the product description:

```
<img src="http://www.example.com/img.png" >

```

It's in woocommerce, but I don't know how I can replace this in my database (in phpmyadmin), so I want to do a nginx rewrite to https.
the following nginx config:

```
... omited...

         if ($ssl_protocol = "") {
       rewrite ^   https://www.example.com$request_uri? permanent;
    }
        location / {
                try_files $uri $uri/ /index.php?$args;
        }

... omited...

```

How can I make the src="http://..." end up in an ssl url so I get rid of the error?