• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Problem with SPA AND NGINX Additional directive

wabou

New Pleskian
my signle page angular app is in MyDomain.com/Admin
the navigation is not working when refresh page

i tried to add this as Additional directive in Websites & Domains > <domain_name> > Apache & nginx Settings > Additional directives
location Admin/ {
try_files $uri $uri/ /index.html?$query_string;
}

but i get this error :

Invalid nginx configuration: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/MyDomain.com.conf:52 nginx: configuration file /etc/nginx/nginx.conf test failedUnable to use the current nginx configuration file and to rollback to the previous version of the file because they both contain invalid configuration.
 
Do you have the passenger_enabled directive set in additional directive? if so, remove it temporary then you can add it back in later.
 
Back
Top