Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. ...
  2. server {
  3.  
  4. server_name dev.monitor.domain.ms;
  5. listen 80;
  6.  
  7. allow 194.***.45;
  8. allow 37.***.130;
  9. deny all;
  10.  
  11. return 301 https://dev.monitor.domain.ms$request_uri;
  12. }
  13. ...
  14.  
  15. $ curl -vL dev.monitor.domain.ms
  16. * About to connect() to dev.monitor.domain.ms port 80 (#0)
  17. ...
  18. < HTTP/1.1 301 Moved Permanently
  19. ...
  20. < Location: https://dev.monitor.domain.ms/
  21. ...
  22. * Issue another request to this URL: 'https://dev.monitor.domain.ms/'
  23. * About to connect() to dev.monitor.domain.ms port 443 (#1)
  24. * Trying 40.***.***.237... Connection timed out
  25. * couldn't connect to host
  26. * Closing connection #1
  27. curl: (7) couldn't connect to host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement