add nginx authentication to docker container
$10-30 USD
Betalades vid leverans
I have the following Dockerfile:
FROM node:alpine
WORKDIR /usr/app
RUN npm init -f
COPY [login to view URL] .
RUN npm install http
ENTRYPOINT ["node", "[login to view URL]"]
here is the content of [login to view URL]:
const http = require('http');
[login to view URL]((request, response) => {
[login to view URL](200, {
'Content-Type': 'text/plain'
});
[login to view URL]('Hello, World!\n');
[login to view URL]();
}).listen(80);
I need the Dockerfile modified using nginx to require http authentication (basic auth) on port 80 with the given sample service above.
The estimated time to complete this project is 15 minutes and the budget is $10. An extra deadline of 2 hours will be given in case you are not able to complete within 15 minutes, but the payment will not be increased.
Projekt-id: #35411101