Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- server {
- server_name dev.monitor.domain.ms;
- listen 80;
- allow 194.***.45;
- allow 37.***.130;
- deny all;
- return 301 https://dev.monitor.domain.ms$request_uri;
- }
- ...
- $ curl -vL dev.monitor.domain.ms
- * About to connect() to dev.monitor.domain.ms port 80 (#0)
- ...
- < HTTP/1.1 301 Moved Permanently
- ...
- < Location: https://dev.monitor.domain.ms/
- ...
- * Issue another request to this URL: 'https://dev.monitor.domain.ms/'
- * About to connect() to dev.monitor.domain.ms port 443 (#1)
- * Trying 40.***.***.237... Connection timed out
- * couldn't connect to host
- * Closing connection #1
- curl: (7) couldn't connect to host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement