From 97c2c13c4b1ba3292a58b5ffc2125207297ab4e7 Mon Sep 17 00:00:00 2001 From: Teddy-1024 Date: Sat, 12 Jul 2025 09:19:31 +0200 Subject: [PATCH] Prune: Remove unused files from alternative configurations. --- init.sql | 5 ----- nginx.conf | 39 --------------------------------------- requirements.txt.bak | 16 ---------------- 3 files changed, 60 deletions(-) delete mode 100644 init.sql delete mode 100644 nginx.conf delete mode 100644 requirements.txt.bak diff --git a/init.sql b/init.sql deleted file mode 100644 index 6eaef2c..0000000 --- a/init.sql +++ /dev/null @@ -1,5 +0,0 @@ --- init.sql -CREATE DATABASE IF NOT EXISTS demo; -CREATE USER IF NOT EXISTS 'teddy'@'%' IDENTIFIED BY 'slap_chop_rinse_erect'; -GRANT ALL PRIVILEGES ON demo.* TO 'teddy'@'%'; -FLUSH PRIVILEGES; diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 1b95cc9..0000000 --- a/nginx.conf +++ /dev/null @@ -1,39 +0,0 @@ -user nginx; -worker_processes auto; -pid /run/nginx.pid; -include /etc/nginx/modules-enabled/*.conf; - -events { - worker_connections 1024; - multi_accept on; -} - -http { - sendfile on; - tcp_nopush on; - tcp_nodelay on; - keepalive_timeout 65; - types_hash_max_size 2048; - - # Set default MIME type - default_type application/octet-stream; - - # SSL Settings - ssl_protocols TLSv1.2 TLSv1.3; - ssl_prefer_server_ciphers on; - - # Logging Settings - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; - - # Gzip Settings - gzip on; - gzip_disable "msie6"; - - # Virtual Host Configs - include /etc/nginx/conf.d/*.conf; - include /etc/nginx/sites-enabled/*.conf; - - # MIME Types - include /etc/nginx/mime.types; -} diff --git a/requirements.txt.bak b/requirements.txt.bak deleted file mode 100644 index 4d551c7..0000000 --- a/requirements.txt.bak +++ /dev/null @@ -1,16 +0,0 @@ - -Flask==3.0.3 -gunicorn==23.0.0 -flask_wtf -flask_sqlalchemy -flask_cors -flask_mail -authlib -jwt -mysqlclient -stripe -python_dotenv -authlib -pydantic -# psycopg2 -requests