Update README.md
This commit is contained in:
parent
b2532affaf
commit
2f75911550
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ On Linux using g++: add -pthread
|
||||||
|
|
||||||
#### HTTP
|
#### HTTP
|
||||||
|
|
||||||
g++ -O3 -std=c++11 -lboost_system http_examples.cpp -o http_examples
|
g++ -O3 -std=c++11 http_examples.cpp -lboost_system -o http_examples
|
||||||
|
|
||||||
Then to run the server and client examples: ./http_examples
|
Then to run the server and client examples: ./http_examples
|
||||||
|
|
||||||
|
|
@ -43,7 +43,7 @@ Also, direct your favorite browser to for instance http://localhost:8080/
|
||||||
|
|
||||||
#### HTTPS
|
#### HTTPS
|
||||||
|
|
||||||
g++ -O3 -std=c++11 -lboost_system -lssl -lcrypto https_examples.cpp -o https_examples
|
g++ -O3 -std=c++11 https_examples.cpp -lboost_system -lssl -lcrypto -o https_examples
|
||||||
|
|
||||||
Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Follow, for instance, the instructions given here (for a self-signed certificate): http://www.akadia.com/services/ssh_test_certificate.html
|
Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Follow, for instance, the instructions given here (for a self-signed certificate): http://www.akadia.com/services/ssh_test_certificate.html
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue