• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question how to change nginx port from 80 to 81

hassan.akhtar

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian v18.0.43_build1800220414.18 os_CentOS 7
i need to change my nginx port from 80 to 81 , kindly suggest any article
 
I assume the following works:

1) Open table "ServiceNodeConfiguration" of the "psa" MySQL database, search for the row with "frontendPort" as the name and change the value from "80" to "81"
2) Regenerate all webserver config files via the Plesk Repair Utility ("plesk repair web")
3) Restart nginx service
 
 
Back
Top