summaryrefslogtreecommitdiff
path: root/nginx.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2017-08-22 01:07:51 +0100
committerFbenas <philbeansburton@gmail.com>2017-08-22 01:07:51 +0100
commit47b154758e789e75ec597d88540cdb7f4e352225 (patch)
tree3e8ec0a763e2d72534a54e177af292ee7100fbcf /nginx.php
parent3de70e73fb53ada12a4d7d332853253523720511 (diff)
Make sure we write the nginx conf
Diffstat (limited to 'nginx.php')
-rw-r--r--nginx.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/nginx.php b/nginx.php
deleted file mode 100644
index e362fb3..0000000
--- a/nginx.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-return [
- "server {
- listen *;
- server_name %s;
-
- access_log /web/sites/%s/logs/%s.access_log main;
- error_log /web/sites/%s/logs/%s.error_log info;
-
- root /web/sites/%s/web;
-
- location ~ \.php$ {
- # Test for non-existent scripts or throw a 404 error
- # Without this line, nginx will blindly send any request ending in .php to php-fpm
- try_files \$uri =404;
- include /etc/nginx/fastcgi.conf;
- fastcgi_pass unix:/run/php7-fpm.sock;
- }
-}"
-];