Never mind... most of the times, right after you post something to a forum, you will find the answer all of a sudden.. but, to be polite, I will also include the solution (if a better one exists, please correct me) server { server_name ~^(?<sub>mailserver|mail|connect|autodiscover|webmail)\.mydomainname\.com$; rewrite ^ https://$sub.mydomainname.com$request_uri? permanent; }by sonic393 - How to...
Hi I'm trying for a while now and I've searched google, but I can't seem to find the right solution for my redirect problem. I have a webserver running nginx, and I'm trying to get all subdomains linked tot this mailserver to redirect to https automatically. the subdomains are - mail - mailserver - webmail - connect I allready setup the correct multidomain certificate so that's haby sonic393 - How to...
![]() |
![]() |
![]() |
![]() |
|