diff options
author | Fbenas <philbeansburton@gmail.com> | 2017-09-02 20:30:30 +0100 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2017-09-02 20:30:30 +0100 |
commit | 7d2128f364c0e81a15653db2508d3e09b262eca1 (patch) | |
tree | 654ed84f42059aa4fd85e93c96db2824da7f06cb /nginx/stub.php | |
parent | e237e378a0bfc6e906d7cf682fc7f7fd4af74528 (diff) |
Refactor site:create command to allow creation of extra tasks easier
Diffstat (limited to 'nginx/stub.php')
-rw-r--r-- | nginx/stub.php | 8 |
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 |