aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/http/templates/nginx
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-08-13 16:29:05 +0100
committerJoe Carstairs <me@joeac.net>2026-08-13 16:29:05 +0100
commit954ab1887b20e9e0d5885c1cec8d71641cb3dcd4 (patch)
tree45cb7191fe51f3fa099e8a01e5cd0a0c37e034ec /ansible/roles/http/templates/nginx
parentf9272fdf3ea23070583c944b110a7b8f16c5a4ff (diff)
remove homelab config
Diffstat (limited to 'ansible/roles/http/templates/nginx')
-rw-r--r--ansible/roles/http/templates/nginx/joeac.net.conf24
1 files changed, 0 insertions, 24 deletions
diff --git a/ansible/roles/http/templates/nginx/joeac.net.conf b/ansible/roles/http/templates/nginx/joeac.net.conf
deleted file mode 100644
index 9f28fee..0000000
--- a/ansible/roles/http/templates/nginx/joeac.net.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-server {
- listen {{ services.http.port }};
- listen [::]:{{ services.http.port }};
- server_name joeac.net;
-
- location / {
- root {{ http_files_dir }}/html;
- try_files $uri $uri.html $uri/index.html $uri.php $uri/index.php =404;
- }
-
- error_page 404 /error.html;
-
- location ~ \.php$ {
- root html;
- fastcgi_pass unix:/run/php8.5-fpm-joeac.net-http.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /var/joeac.net-http/html$fastcgi_script_name;
- include fastcgi_params;
- }
-
- location ~ /\.sqlite {
- deny all;
- }
-}