Hi all,
while switching to a new system (Ubuntu 12.04 ->16.04) and Plesk Onyx (from 12.5), I see that nginx was enabled automatically. Since this seems to be an interesting combination, I started experimenting...
Now the first question that I have: For Apache, I can define for each website/subdomain custom settings for Apache & nginx. For Apache, these can be different for HTTP and HTTPS. However, for nginx there is only one field. How can I define different settings for HTTP and HTTPS?
- This is for instance necessary for HTTP to HTTPS redirects (where the redirect is only required on the HTTP port). Here separate configuration settings would be helpful to prevent the execution of additional regular expressions and if statements...
while switching to a new system (Ubuntu 12.04 ->16.04) and Plesk Onyx (from 12.5), I see that nginx was enabled automatically. Since this seems to be an interesting combination, I started experimenting...
Now the first question that I have: For Apache, I can define for each website/subdomain custom settings for Apache & nginx. For Apache, these can be different for HTTP and HTTPS. However, for nginx there is only one field. How can I define different settings for HTTP and HTTPS?
- This is for instance necessary for HTTP to HTTPS redirects (where the redirect is only required on the HTTP port). Here separate configuration settings would be helpful to prevent the execution of additional regular expressions and if statements...