Guest User

Untitled

a guest
Apr 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [root@uk1001 conf.d]# curl -k -v --fail https://monit.mydomain.com
  2. * About to connect() to monit.mydomain.com port 443 (#0)
  3. * Trying 10.0.35.80... connected
  4. * Connected to monit.mydomain.com (10.0.35.80) port 443 (#0)
  5. * Initializing NSS with certpath: sql:/etc/pki/nssdb
  6. * warning: ignoring value of ssl.verifyhost
  7. * skipping SSL peer certificate verification
  8. * SSL connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA
  9. * Server certificate:
  10. ... omitted cert details ...
  11. > GET / HTTP/1.1
  12. > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.3.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
  13. > Host: monit.mydomain.com
  14. > Accept: */*
  15. >
  16. < HTTP/1.1 302 Moved Temporarily
  17. < Date: Thu, 26 Jan 2017 11:20:01 GMT
  18. < Server: mmonit/3.5
  19. < Content-Type: text/plain; charset=UTF-8
  20. < Location: http://monit.mydomain.com:8082/index.csp
  21. < Connection: close
  22. < Transfer-Encoding: chunked
  23. <
  24.  
  25. <VirtualHost *:443 >
  26. ServerName monit.mydomain.com
  27. SSLEngine on
  28. SSLProxyEngine on
  29.  
  30. ProxyRequests Off
  31. ProxyPreserveHost On
  32.  
  33. RequestHeader set X-FORWARDED-PROTO "https"
  34.  
  35. ProxyPass / http://monit.realserver.com:8082/ connectiontimeout=5 timeout=300
  36. ProxyPassReverse / http://monit.realserver.com:8082/
  37.  
  38. </VirtualHost>
  39.  
  40. proxyScheme="https" proxyName="monit.mydomain.com" proxyPort="443"
Add Comment
Please, Sign In to add comment