-
Configure the api server to use SSL:
- Generate SSL key/cert:
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out api/eapp_tls.crt -keyout api/eapp_tls.key - set TLS_CERT and TLS_KEY accordingly in .env
- Generate SSL key/cert:
-
Configure nginx to serve the front end using SSL:
cp api/eapp_tls.* conf/ssl/- Modify the
serverblock inconf/nginx.template.confper http://nginx.org/en/docs/http/configuring_https_servers.htmllisten 8080 ssl;ssl_certificate /etc/ssl/eapp_tls.crt;ssl_certificate_key /etc/ssl/eapp_tls.key;
-
make run
This repository was archived by the owner on Sep 19, 2021. It is now read-only.