V
V
Valentin Melnik2020-10-28 13:42:56
Nginx
Valentin Melnik, 2020-10-28 13:42:56

How to use nginx to direct different subdomains to different pages?

How to make nginx open one page when connecting to sub1.domen.com, and another page when connecting to sub2.domen.com?
A records of both subdomains point to the same IP.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
paran0id, 2020-10-28
@Poincare

Two server sections with different server_name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question