Hi all,
Here my case:
I have wildcard certificate for *.domain.com .
What I want :
- http requests to domain.com or *.domain.com are redirect to https
- https requests to domain.com are passed to directory homesite port 82
- https request to management.domain.com are passed to directory management port 82
- https request to site1.domain.com , site2.domain.com , anythings.domain.com , ... (*.domain.com) are passed to directory wildcard port 82
How should I configure Nginx ? Please give me some advice.
Thank you very much.
Here my case:
I have wildcard certificate for *.domain.com .
What I want :
- http requests to domain.com or *.domain.com are redirect to https
- https requests to domain.com are passed to directory homesite port 82
- https request to management.domain.com are passed to directory management port 82
- https request to site1.domain.com , site2.domain.com , anythings.domain.com , ... (*.domain.com) are passed to directory wildcard port 82
How should I configure Nginx ? Please give me some advice.
Thank you very much.