diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-13 16:29:05 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-13 16:29:05 +0100 |
| commit | 954ab1887b20e9e0d5885c1cec8d71641cb3dcd4 (patch) | |
| tree | 45cb7191fe51f3fa099e8a01e5cd0a0c37e034ec /ansible/roles/http/templates | |
| parent | f9272fdf3ea23070583c944b110a7b8f16c5a4ff (diff) | |
remove homelab config
Diffstat (limited to 'ansible/roles/http/templates')
| -rw-r--r-- | ansible/roles/http/templates/config.ini | 11 | ||||
| -rw-r--r-- | ansible/roles/http/templates/nginx/joeac.net.conf | 24 | ||||
| -rw-r--r-- | ansible/roles/http/templates/php-fpm/joeac.net.conf | 23 |
3 files changed, 0 insertions, 58 deletions
diff --git a/ansible/roles/http/templates/config.ini b/ansible/roles/http/templates/config.ini deleted file mode 100644 index 4bbe7b1..0000000 --- a/ansible/roles/http/templates/config.ini +++ /dev/null @@ -1,11 +0,0 @@ -MAX_DAILY_EMAILS = 100 -CONTACT_MAILBOX = me@joeac.net -CONTACT_MAILBOX_NAME = Joe Carstairs -LOCAL_SMTP_FROM = jobot@mail.joeac.net -LOCAL_SMTP_FROM_NAME = Jobot -LOCAL_SMTP_HOST = mail.joeac.net -LOCAL_SMTP_PORT = 465 -LOCAL_SMTP_USER = jobot@mail.joeac.net -LOCAL_SMTP_PASSWORD = "{{ ( email_accounts | selectattr("name", "eq", "jobot") | first ).password | trim }}" -DB_SCHEME = sqlite -DB_PATH = {{ http_files_dir }}/{{ http_database_filename }} 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; - } -} diff --git a/ansible/roles/http/templates/php-fpm/joeac.net.conf b/ansible/roles/http/templates/php-fpm/joeac.net.conf deleted file mode 100644 index 30c120d..0000000 --- a/ansible/roles/http/templates/php-fpm/joeac.net.conf +++ /dev/null @@ -1,23 +0,0 @@ -[joeac.net] -user = nginx -group = nginx -listen = {{ http_phpfpm_socket }} -listen.owner = nginx -listen.group = nginx -listen.mode = 0660 - -access.log = /var/log/php85/$pool.access.log -access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{milli}d %{kilo}M %C%%" -catch_workers_output = yes -php_admin_value[error_log] = /var/log/php85/$pool.error.log -php_admin_flag[log_errors] = on - -php_admin_value[disable_functions] = exec,passthru,shell_exec,system -php_admin_flag[allow_url_fopen] = off - -pm = dynamic -pm.max_children = 20 -pm.start_servers = 4 -pm.min_spare_servers = 2 -pm.max_spare_servers = 8 -pm.max_requests = 500 |
