summaryrefslogtreecommitdiff
path: root/linux/nginx/etc
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-05-01 10:40:54 -0500
committerChristian Cleberg <[email protected]>2026-05-01 10:40:54 -0500
commit654bc7b1887db3287c2b91e368fb2aacc5baf330 (patch)
tree27cc2a5dec459274594c6cad38e4a24c8a8409ad /linux/nginx/etc
parenta3c2ba820264f39995e2ac0683d8d9961888d7e5 (diff)
downloaddotfiles-654bc7b1887db3287c2b91e368fb2aacc5baf330.tar.gz
dotfiles-654bc7b1887db3287c2b91e368fb2aacc5baf330.tar.bz2
dotfiles-654bc7b1887db3287c2b91e368fb2aacc5baf330.zip
remove stray file
Diffstat (limited to 'linux/nginx/etc')
-rw-r--r--linux/nginx/etc/nginx/custom.d/sites/cleberg_net_static_locations.conf38
1 files changed, 0 insertions, 38 deletions
diff --git a/linux/nginx/etc/nginx/custom.d/sites/cleberg_net_static_locations.conf b/linux/nginx/etc/nginx/custom.d/sites/cleberg_net_static_locations.conf
deleted file mode 100644
index 2ece0d1..0000000
--- a/linux/nginx/etc/nginx/custom.d/sites/cleberg_net_static_locations.conf
+++ /dev/null
@@ -1,38 +0,0 @@
-location /org/ {
- internal;
- alias /var/www/cleberg.net/org/;
- default_type text/markdown;
- add_header Content-Type "text/markdown; charset=utf-8" always;
- add_header Vary "Accept" always;
-}
-
-location = / {
- if ($http_accept ~* "text/markdown") {
- rewrite ^/$ /org/index.org last;
- }
-
- add_header Vary "Accept" always;
- try_files /index.html =404;
-}
-
-location / {
- try_files $uri $uri/ =404;
-}
-
-location /blog/ {
- rewrite ^/blog/((?!index)[^/]+)/(.*)$ /blog/$1.html permanent;
- if ($http_accept ~* "text/markdown") {
- rewrite ^/blog/([^/]+)\.html$ /org/blog/$1.org last;
- }
-}
-
-location ~ ^/(.+)\.html$ {
- if ($http_accept ~* "text/markdown") {
- rewrite ^/(.+)\.html$ /org/$1.org last;
- }
- add_header Vary "Accept" always;
- try_files $uri =404;
-}
-
-location /atom.xml { return 301 $scheme://$host/feed.xml; }
-location /blog/salary-transparency.html { return 301 $scheme://$host/salary/; }