mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 14:32:54 +08:00
document_root variable (http)
This commit is contained in:
@@ -60,7 +60,7 @@ server {
|
||||
|
||||
server_name {{ !data.non_www ? 'www.' : '' }}{{ data.domain }};
|
||||
set $base /var/www/{{ data.domain }};
|
||||
root $base/public;
|
||||
root $base/{{ data.document_root }};
|
||||
<span ng-if="data.file_structure === 'separated'">
|
||||
include _general.conf;<span ng-if="data.php !== 'off' && data.wordpress">
|
||||
include _wordpress.conf;</span><span ng-if="data.php !== 'off'">
|
||||
|
Reference in New Issue
Block a user