about summary refs log tree commit diff stats
path: root/tools/conf/etc/nginx/sites-enabled/vexim.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/conf/etc/nginx/sites-enabled/vexim.conf')
-rw-r--r--tools/conf/etc/nginx/sites-enabled/vexim.conf39
1 files changed, 0 insertions, 39 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/vexim.conf b/tools/conf/etc/nginx/sites-enabled/vexim.conf
deleted file mode 100644
index d113cdc..0000000
--- a/tools/conf/etc/nginx/sites-enabled/vexim.conf
+++ /dev/null
@@ -1,39 +0,0 @@
-server {
-    listen 8080;
-    server_name vexim.server.ank;
-
-    access_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_vexim,nohostname main;
-    error_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_vexim_err,nohostname debug;
-
-    root /srv/www/vexim;
-
-    location / {
-        index index.php;
-        autoindex off;
-    }
-
-    location ~ [^/]\.php(/|$) {
-
-        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
-        if (!-f $document_root$fastcgi_script_name) {
-            return 404;
-        }
-
-        # Mitigate https://httpoxy.org/ vulnerabilities
-        fastcgi_param HTTP_PROXY "";
-
-        fastcgi_pass 127.0.0.1:9000;
-        fastcgi_index index.php;
-
-        # include the fastcgi_param setting
-        include fastcgi_params;
-
-        # SCRIPT_FILENAME parameter is used for PHP FPM determining
-        #  the script name. If it is not set in fastcgi_params file,
-        # i.e. /etc/nginx/fastcgi_params or in the parent contexts,
-        # please comment off following line
-        fastcgi_param REQUEST_METHOD $request_method;
-        fastcgi_param  SCRIPT_FILENAME   $document_root$fastcgi_script_name;
-    }
-
-}