summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/stub.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/nginx/stub.php b/nginx/stub.php
index 0e67918..b018f18 100644
--- a/nginx/stub.php
+++ b/nginx/stub.php
@@ -3,12 +3,12 @@
return [
"server {
listen *;
- server_name $domain;
+ server_name {$this->domain};
- access_log /web/sites/$name/logs/$name.access_log main;
- error_log /web/sites/$name/logs/$name.error_log info;
+ access_log /web/sites/{$this->name}/logs/{$this->name}.access_log main;
+ error_log /web/sites/{$this->name}/logs/{$this->name}.error_log info;
- root /web/sites/$name/web;
+ root /web/sites/{$this->name}/web;
location ~ \.php$ {
# Test for non-existent scripts or throw a 404 error