• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

nginx directive on service plan not working for domain

Brujo

Silver Pleskian
Plesk Guru
I followed as an example this KB https://kb.plesk.com/en/128665


First I created a new Service Plan

and copied the example into the nginx directives form (Service Plans > plan_name > Web Server > nginx directives) and saved the service plan. Then I assigned a domain to this service plan and tested it, but it seems the directive is not working for the Domain.

When I copy and paste it to the domain Subscriptions > my test domain > Apache & nginx Settings > Additional nginx directives it works.

So what did I miss? any hint would be appreciated


Kind regards
Brujo
 
If you create new subscription based on this plan, all nginx special settings will be synchronized, right?
The problem may be in hosting management permissions of your subscription on previous plan and the same permissions on the new plan.
There are differences in the logic of syncing this permission and corresponding webserver settings. For example, if you do not allow user to manage hosting settings, all your additional special webserver settings will be applied mandatory because the user should use only those settings which were specified by admin in the service plan.
 
Thanks for answer,
well that is what I had, the old/previous service plan and new service Plan had in Service Plan > permissions > Hosting settings management = off / unchecked and in Service Plan > permissions > Webserver > nginx directives I pasted the code. So if I understand you correct this settings should be applied mandatory.

Well what I realy like to archive is the following:
Create a Service plan based on the existing one > set-up the redirect in the “nginx directives” (http -> https) > enable / create for Domains Lets sencrypt Cert > assign Domain to new created Service Plan, and if all went as I thought - the Domain should be now reachable automatically via https insteed of http or is there a fault in my reasoning?

kind regards
Brujo


 
Back
Top