Skip to content

WebTrit/webtrit_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebTrit Proxy

Configuration via environment variables

Env variables descriptions:

  • WEBTRIT_CORE_HOST - WebTrit Core Host

Run

Generation of self-signed SSL certificate for testing

mkdir nginx/ssl && openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
  -keyout nginx/ssl/private.key \
  -out nginx/ssl/certificate.crt \
  -subj "/C=US/ST=State/L=City/O=Organization/OU=OrgUnit/CN=localhost"

Build and run

docker build --tag webtrit-proxy .

docker run --detach --restart always \
--name webtrit-proxy \
--env WEBTRIT_CORE_HOST="core.demo.webtrit.com" \
-p 80:80 \
-p 443:443 \
webtrit-proxy

About

A proxy for inbound API connections to WebTrit back-end, so it can be used to "hide" WebTrit back-end from being directly accessed by an end-user (e.g. to implement an extra firewall)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors