Guest User

Untitled

a guest
May 16th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. server {
  2.  
  3. listen 80;
  4. root /usr/share/nginx/html;
  5.  
  6. location /api-results/ {
  7. root /mochawesome-report;
  8. index mochawesome.html;
  9. }
  10.  
  11.  
  12. }
  13.  
  14. 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" "-"
  15. 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"
  16.  
  17. FROM nginx:alpine
  18. EXPOSE 80
  19. WORKDIR /usr/share/nginx/html
  20. COPY nginx.conf /etc/nginx/nginx.conf
  21. COPY . /usr/share/nginx/html/
  22. CMD ["/usr/sbin/nginx"]
Add Comment
Please, Sign In to add comment