Ngnix setup and Servlet Testing,ngnixservlet


sudo port install nginx

/var/log/nginx   logs

ls /opt/local/etc/nginx/

vi /var/log/nginx/julu_service.log 

sudo /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf

sudo /opt/local/sbin/nginx -s stop

vi  /opt/local/etc/nginx/nginx.conf



vi /Users/julumobile/Project/julu-server/integration/target/service/logs/juluDbg.log


cd /Users/julumobile/Project/julu-server/integration/target/service/scripts/operations

..;cd operations/;cp ~/hostConfig.xml ../../; ./servers.sh stop; ./servers.sh start debug

curl -v -d "[\"86003051850\",\"86003300347\",\"87116069831\",\"481621010843\",\"806686001409\"]" --compressed "http://192.168.1.27:11126/pjgp"


===========

tar -xzf /Users/julumobile/Project/julu-server/external/julu-pinjiu-service/target/julu-pinjiu-service-0.9-SNAPSHOT-r88cd173f-distribution.tar.gz

curl -v -d "{"productIDs":[\"86003051850\",\"86003300347\",\"87116069831\",\"481621010843\",\"806686001409\"]}" --compressed "http://192.168.1.7:11126/pjgp"

============

相关内容

    暂无相关文章