custom SUB ROOT

shirokoweb

Verified User
Joined
Nov 22, 2014
Messages
5
Hi there,

How would I set my SUB ROOT path to this please ? :

Code:
root /home/admin/domains/fqdn.ovh/public_html/wp-content;

I edited my CUSTOM1 filed to look like this :

Code:
|*if SUB="static"|
|?DOCROOT=/home/admin/domains/fqdn.ovh/public_html/wp-content|
|*endif|

But the output in the "# Auto generated nginx config file by DirectAdmin version 1.51.4" gives me :

Code:
root /home/admin/domains/fqdn.ovh/public_html/wp-content/static;

Thanks in advance
 
Back
Top