summaryrefslogtreecommitdiff
path: root/nginx.conf.example
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-09 21:33:01 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-09 21:33:01 -0500
commit4084de4c44b8494c73d31b62de90aad845829877 (patch)
tree9f46439f2e2427327cad8aac3d525c89b43c71be /nginx.conf.example
parent08f8193d87d1767529c3667e18669150dabca060 (diff)
tidy
Diffstat (limited to 'nginx.conf.example')
-rw-r--r--nginx.conf.example24
1 files changed, 0 insertions, 24 deletions
diff --git a/nginx.conf.example b/nginx.conf.example
deleted file mode 100644
index 403c66e..0000000
--- a/nginx.conf.example
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- mode: nginx; nginx-indent-level: 8; intent-tabs-mode: t -*-
-
-server {
- server_name www.andrewdm.me;
- listen 443 ssl http2;
- listen [::]:443 ssl http2;
-
- if (-d /srv/http/$server_name/out/$uri) {
- rewrite ^(.*[^/])$ $1/ permanent;
- }
-
- location ~ [A-Z] {
- uwsgi_pass unix:/run/uwsgi/www.sock;
- uwsgi_modifier1 9; # Standard CGI request
- include uwsgi_params;
- }
-
- location / {
- try_files /out$uri/index.html /out$uri /src$uri =404;
- }
- location /search.html {
- return 302 https://duckduckgo.com/?q=site:$host+$arg_s;
- }
-}