summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/stub.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/nginx/stub.php b/nginx/stub.php
index e362fb3..0e67918 100644
--- a/nginx/stub.php
+++ b/nginx/stub.php
@@ -1,14 +1,14 @@
<?php
return [
- "server {
+ "server {
listen *;
- server_name %s;
+ server_name $domain;
- access_log /web/sites/%s/logs/%s.access_log main;
- error_log /web/sites/%s/logs/%s.error_log info;
+ access_log /web/sites/$name/logs/$name.access_log main;
+ error_log /web/sites/$name/logs/$name.error_log info;
- root /web/sites/%s/web;
+ root /web/sites/$name/web;
location ~ \.php$ {
# Test for non-existent scripts or throw a 404 error