mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-19 11:14:20 +01:00
Authenticated HTTP API - first pass
This commit is contained in:
19
api_auth_docker/Dockerfile
Normal file
19
api_auth_docker/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
git \
|
||||
openssl \
|
||||
fcgiwrap \
|
||||
spawn-fcgi \
|
||||
curl \
|
||||
jq
|
||||
|
||||
COPY auth.sh /etc/nginx/conf.d
|
||||
COPY default-ssl.conf /etc/nginx/conf.d/default.conf
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
COPY keys.properties /etc/nginx/conf.d
|
||||
COPY trace.sh /etc/nginx/conf.d
|
||||
|
||||
RUN chmod +x /etc/nginx/conf.d/auth.sh entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
Reference in New Issue
Block a user