test restconf: restconf proto should be default https only for native, not fcgi

This commit is contained in:
Olof Hagsand 2021-06-24 14:31:59 +00:00
parent 2d7d3c9782
commit e3e36aba50

View file

@ -127,7 +127,12 @@ DEMSLEEP=.2
let DEMLOOP=5*DEMWAIT let DEMLOOP=5*DEMWAIT
# RESTCONF protocol, eg http or https # RESTCONF protocol, eg http or https
if [ "${WITH_RESTCONF}" = "fcgi" ]; then
: ${RCPROTO:=http}
else
: ${RCPROTO:=https} : ${RCPROTO:=https}
fi
# www user (on linux typically www-data, freebsd www) # www user (on linux typically www-data, freebsd www)
# Start restconf user, can be root which is dropped to wwwuser # Start restconf user, can be root which is dropped to wwwuser