# How to create configure about https default

**URL:** <https://www.ruby-forum.com/t/how-to-create-configure-about-https-default/223017>\
**Category:** NGINX\
**Created:** [September 19, 2012, 8:00am UTC](https://www.ruby-forum.com/t/how-to-create-configure-about-https-default/223017 "2012-09-19T08:00:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [September 19, 2012, 8:00am UTC](https://www.ruby-forum.com/t/how-to-create-configure-about-https-default/223017/1 "2012-09-19T08:00:50Z")

</div>

Hi,

I want [https://192.168.0.1](https://192.168.0.1) can return 500,but if there is a  
[https://localhost](https://localhost) sites,browsering to [https://192.168.0.1](https://192.168.0.1) will go to  
[https://localhost](https://localhost).

How can i avoid this.
