Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- root /usr/share/nginx/html;
- location /api-results/ {
- root /mochawesome-report;
- index mochawesome.html;
- }
- }
- 172.17.0.1 - - [16/May/2018:14:21:24 +0000] "GET /api-results/ HTTP/1.1" 404 572 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36" "-"
- 2018/05/16 14:21:24 [error] 7#7: *1 "/usr/share/nginx/html/api-results/index.html" is not found (2: No such file or directory), client: 172.17.0.1, server: localhost, request: "GET /api-results/ HTTP/1.1", host: "localhost:8080"
- FROM nginx:alpine
- EXPOSE 80
- WORKDIR /usr/share/nginx/html
- COPY nginx.conf /etc/nginx/nginx.conf
- COPY . /usr/share/nginx/html/
- CMD ["/usr/sbin/nginx"]
Add Comment
Please, Sign In to add comment