File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,51 @@ module.exports = {
128
128
negatedDescription : 'Do not use HTTPS protocol.' ,
129
129
negative : true ,
130
130
} ,
131
+ {
132
+ name : 'https-key' ,
133
+ type : String ,
134
+ configs : [
135
+ {
136
+ type : 'string' ,
137
+ } ,
138
+ ] ,
139
+ description : 'Path to an SSL key.' ,
140
+ processor ( opts ) {
141
+ opts . https = opts . https || { } ;
142
+ opts . https . key = opts . httpsKey ;
143
+ delete opts . httpsKey ;
144
+ } ,
145
+ } ,
146
+ {
147
+ name : 'https-pfx' ,
148
+ type : String ,
149
+ configs : [
150
+ {
151
+ type : 'string' ,
152
+ } ,
153
+ ] ,
154
+ description : 'Path to an SSL pfx file.' ,
155
+ processor ( opts ) {
156
+ opts . https = opts . https || { } ;
157
+ opts . https . pfx = opts . httpsPfx ;
158
+ delete opts . httpsPfx ;
159
+ } ,
160
+ } ,
161
+ {
162
+ name : 'https-cert' ,
163
+ type : String ,
164
+ configs : [
165
+ {
166
+ type : 'string' ,
167
+ } ,
168
+ ] ,
169
+ description : 'Path to an SSL certificate.' ,
170
+ processor ( opts ) {
171
+ opts . https = opts . https || { } ;
172
+ opts . https . cert = opts . httpsCert ;
173
+ delete opts . httpsCert ;
174
+ } ,
175
+ } ,
131
176
{
132
177
name : 'http2' ,
133
178
type : Boolean ,
You can’t perform that action at this time.
0 commit comments