about summary refs log tree commit diff stats
path: root/tools/conf/etc/nginx/sites-enabled/frontpage.conf
diff options
context:
space:
mode:
authorpunk <punk@libernaut>2021-04-29 16:10:16 +0100
committerpunk <punk@libernaut>2021-04-29 16:10:16 +0100
commit5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 (patch)
treefd61f912b509c9056e79b9f0ee6b700584c85b57 /tools/conf/etc/nginx/sites-enabled/frontpage.conf
parent3790c6ecd836d25815f7cb8deef62a77d4f3ac9f (diff)
downloaddoc-5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3.tar.gz
linux tools configs moved to linux folder
Diffstat (limited to 'tools/conf/etc/nginx/sites-enabled/frontpage.conf')
-rw-r--r--tools/conf/etc/nginx/sites-enabled/frontpage.conf40
1 files changed, 0 insertions, 40 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/frontpage.conf b/tools/conf/etc/nginx/sites-enabled/frontpage.conf
deleted file mode 100644
index 7f7e66a..0000000
--- a/tools/conf/etc/nginx/sites-enabled/frontpage.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-server {
-    listen 8080;
-    server_name frontpage.server.ank;
-
-    #access_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_frontpage,nohostname main;
-    error_log syslog:server=unix:/dev/log,facility=daemon,tag=nginx_frontpage_err,nohostname debug;
-
-    root /srv/www/frontpage;
-
-    index index.html index.php;
-
-    location / {
-        index index.html;
-        try_files $uri $uri/ index.html index.php$is_args$args;
-    }
-
-    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;
-    }
-}