Heb12 API Setup Script
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Daniel c752ef2b30 Polish some things 7 mesi fa
DOC.md Update 'DOC.md' 8 mesi fa
LICENSE Initial commit 10 mesi fa
Makefile Polish some things 7 mesi fa
README.md Finish readme 7 mesi fa

README.md

api

Heb12 API Setup Script

Setup

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

Removal

make remove

Apache2 Configuration

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

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

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

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/;
}