griffenliu opened a new issue #691:
URL: https://github.com/apache/apisix-dashboard/issues/691


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ x] Question or discussion
   - [ ] Bug
   - [ ] Requirements
   - [ ] Feature or performance improvement
   - [ ] Other
   
   ___
   ### Question
   - What do you want to know?
   conf.json copy of fan.
   
   ```
   # config
   cp ${pwd}/api/conf/conf_preview.json ${pwd}/conf.json
   export APIX_DAG_LIB_PATH="${pwd}/dag-to-lua-1.1/lib/"
   export APIX_ETCD_ENDPOINTS="127.0.0.1:2379"
   export SYSLOG_HOST=127.0.0.1
   
   if [[ "$unamestr" == 'Darwin' ]]; then
        sed -i '' -e "s%#syslogAddress#%`echo $SYSLOG_HOST`%g" ${pwd}/conf.json
   else
        sed -i -e "s%#syslogAddress#%`echo $SYSLOG_HOST`%g" ${pwd}/conf.json
   fi
   
   cp ${pwd}/conf.json ${pwd}/api/conf/conf.json
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to