Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s3rj1k/nginx-js-challenge

JS Challenge (like Cloudflare) service that uses nginx auth_request_module.
https://github.com/s3rj1k/nginx-js-challenge

auth-request challenge cloudflare js js-challenge nginx subrequest

Last synced: about 2 months ago
JSON representation

JS Challenge (like Cloudflare) service that uses nginx auth_request_module.

Awesome Lists containing this project

README

        

# Build
## Build binaries
```shell script
make build
```

## Build Deb Package
```shell script
apt install make devscripts debhelper build-essential dh-systemd
debuild -us -uc -b
```

# Usage
## Start nginx-js-challenge backend
```shell script
./nginx-js-challenge -address=unix:/run/nginx-js-challenge.sock
```
## Test nginx-js-challenge backend
```shell script
curl --unix-socket /run/nginx-js-challenge.sock http:/example.com
```

## Nginx configuration
The ./nginx dir contains the vhost configuration template.