diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-05-13 00:13:57 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-05-16 18:42:27 +0300 |
| commit | b5860daf11ac353049cb1654b9414a129e5cfb96 (patch) | |
| tree | 87ed89711e4f0e85ace0a97fa123199152c67302 /templates/homepage | |
| parent | 4715a28fdcd87440400d17154bfa361d99db29cc (diff) | |
Rework
Diffstat (limited to 'templates/homepage')
| -rw-r--r-- | templates/homepage/etc_crontab.j2 | 9 | ||||
| -rw-r--r-- | templates/homepage/usr_local_etc_nginx_nginx.conf.j2 | 55 |
2 files changed, 0 insertions, 64 deletions
diff --git a/templates/homepage/etc_crontab.j2 b/templates/homepage/etc_crontab.j2 deleted file mode 100644 index 8541f57..0000000 --- a/templates/homepage/etc_crontab.j2 +++ /dev/null @@ -1,9 +0,0 @@ -# /etc/crontab - root's crontab for FreeBSD -# -# -SHELL=/bin/sh -PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin -# -#minute hour mday month wday who command - -# TODO: update linklog diff --git a/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 b/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 deleted file mode 100644 index ee45405..0000000 --- a/templates/homepage/usr_local_etc_nginx_nginx.conf.j2 +++ /dev/null @@ -1,55 +0,0 @@ -worker_processes auto; - -events { - worker_connections 1024; -} - -http { - include mime.types; - default_type application/octet-stream; - - sendfile on; - keepalive_timeout 65; - - gzip on; - gzip_vary on; - gzip_proxied any; - gzip_comp_level 6; - gzip_min_length 256; - - # Compress sensible, text-based response types (HTML is covered by default) - gzip_types - text/plain - text/css - text/xml - text/javascript - application/javascript - application/json - application/ld+json - application/xml - application/rss+xml - application/atom+xml - image/svg+xml; - - server { - listen 80 default_server; - server_name _; - - root /var/www; - - index index.html; - - # Migration redirects from legacy site - location ~ ^/archive(?:/(.*))?$ { - return 307 /posts/$1$is_args$args; - } - location = /feed.xml { - # Serve atom.xml content at the legacy feed.xml URL (no redirect) - rewrite ^ /atom.xml break; - } - - location / { - try_files $uri $uri.html $uri/ =404; - } - } -} |
