test restconf: restconf proto should be default https only for native, not fcgi
This commit is contained in:
parent
2d7d3c9782
commit
e3e36aba50
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue