bradp / vv

:globe_with_meridians: Variable VVV - a VVV Site Creation Wizard.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ :x: This project is no longer maintained. Please update your copy of VVV , which has most of the vv features built in.
GNU General Public License v2.0
1k stars 89 forks source link

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

Open tmuka opened 8 years ago

tmuka commented 8 years ago

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!