Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx proxy for wildcard domain

$
0
0
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.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>