occlum/demo/https_server/run_https_server_in_linux.sh
LI Qing ba6b4cc028 Add HTTPS file server Demo
The demo shows how to run the unmodified HTTPS file server with Occlum.
2019-10-18 13:32:05 +00:00

12 lines
324 B
Bash
Executable File

#!/bin/bash
export LD_LIBRARY_PATH=/usr/local/occlum/x86_64-linux-musl/lib:$LD_LIBRARY_PATH
https_server=simplest_web_server_ssl
set -e
# 1. Copy files
cp -f mongoose_src/examples/simplest_web_server_ssl/$https_server .
cp -rf mongoose_src/examples/simplest_web_server_ssl/server.* .
# 2. Run https_server
./$https_server