vv icon indicating copy to clipboard operation
vv copied to clipboard

nginx conf https protocol issue with --live-url and --images

Open tmuka opened this issue 9 years ago • 0 comments

use of vv create --images --live-url https://some.example.com results in "http://https://some.example.com" in the nginx conf file.

eg.

location ~ ^/wp-content/uploads/(.*) { if (!-f $request_filename) { rewrite ^/wp-content/uploads/(.*)$ http://https://some.example.com/wp-content/uploads/$1 redirect; } } }

I wonder does "--live-url" really means domain name without the protocol? then is there a way to specify to use https?

love vv, thanks for the hard work and sharing with the world!

tmuka avatar Sep 29 '16 20:09 tmuka