Heb12 API Setup Script
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel c752ef2b30 Polish some things 7 달 전
DOC.md Update 'DOC.md' 8 달 전
LICENSE Initial commit 10 달 전
Makefile Polish some things 7 달 전
README.md Finish readme 7 달 전



Heb12 API Setup Script


Will consume around 5 gigabytes. Most is for hosting Bible data,
the rest is for packages (which you probably have anyway).

Pull the repository, and run “make”. Should be fairly straightforward.



make remove

Apache2 Configuration

DocumentRoot /var/www/api
ServerName api.heb12.com

<Location /search>
	ProxyPass http://localhost:5000

<Location /get>
	ProxyPass http://localhost:5500/get/

Nginx configuration

server_name api.heb12.com;

autoindex on;

root /var/www/api;
index index.html index.php;

location /search {
	proxy_pass http://localhost:1235/;

location /get {
	proxy_pass http://localhost:1234/;