K
K
Kirill Zhilyaev2018-09-15 16:25:48
Nginx
Kirill Zhilyaev, 2018-09-15 16:25:48

How to disable HTTPS for virtual server?

How to disable HTTPS for a given host? If you do not specify listen ... ssl, then the default server is taken for the request

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rostislav, 2018-09-15
Makkall @viogull

I understand you have nginx. Create a separate section in the config for your host and specify only listen 80 in it.

K
ky0, 2018-09-15
@ky0

Do you want what happens when you try to connect via HTTPS to this domain? You can do deny all and then it will just be a 403 stub.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question