]> Nutra Git (v1) - nutratech/vps-root.git/commitdiff
remove wordpress nginx stuff
authornutra-bot <nutradigest@gmail.com>
Tue, 28 Jun 2022 04:28:08 +0000 (04:28 +0000)
committernutra-bot <nutradigest@gmail.com>
Tue, 28 Jun 2022 04:28:08 +0000 (04:28 +0000)
etc/mysql/mysql.conf.d/mysqld.cnf [deleted file]
etc/nginx/conf.d/wordpress.conf [deleted file]
etc/nginx/sites-available/default

diff --git a/etc/mysql/mysql.conf.d/mysqld.cnf b/etc/mysql/mysql.conf.d/mysqld.cnf
deleted file mode 100644 (file)
index 38d1a3f..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# The MySQL database server configuration file.
-#
-# One can use all long options that the program supports.
-# Run program with --help to get a list of available options and with
-# --print-defaults to see which it would actually understand and use.
-#
-# For explanations see
-# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
-
-# Here is entries for some specific programs
-# The following values assume you have at least 32M ram
-
-[mysqld]
-#
-# * Basic Settings
-#
-user           = mysql
-# pid-file     = /var/run/mysqld/mysqld.pid
-# socket       = /var/run/mysqld/mysqld.sock
-port           = 3307
-# datadir      = /var/lib/mysql
-
-
-# If MySQL is running as a replication slave, this should be
-# changed. Ref https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmpdir
-# tmpdir               = /tmp
-#
-# Instead of skip-networking the default is now to listen only on
-# localhost which is more compatible and is not less secure.
-bind-address           = 127.0.0.1
-mysqlx-bind-address    = 127.0.0.1
-#
-# * Fine Tuning
-#
-key_buffer_size                = 16M
-# max_allowed_packet   = 64M
-# thread_stack         = 256K
-
-# thread_cache_size       = -1
-
-# This replaces the startup script and checks MyISAM tables if needed
-# the first time they are touched
-myisam-recover-options  = BACKUP
-
-# max_connections        = 151
-
-# table_open_cache       = 4000
-
-#
-# * Logging and Replication
-#
-# Both location gets rotated by the cronjob.
-#
-# Log all queries
-# Be aware that this log type is a performance killer.
-# general_log_file        = /var/log/mysql/query.log
-# general_log             = 1
-#
-# Error log - should be very few entries.
-#
-log_error = /var/log/mysql/error.log
-#
-# Here you can see queries with especially long duration
-# slow_query_log               = 1
-# slow_query_log_file  = /var/log/mysql/mysql-slow.log
-# long_query_time = 2
-# log-queries-not-using-indexes
-#
-# The following can be used as easy to replay backup logs or for replication.
-# note: if you are setting up a replication slave, see README.Debian about
-#       other settings you may need to change.
-# server-id            = 1
-# log_bin                      = /var/log/mysql/mysql-bin.log
-# binlog_expire_logs_seconds   = 2592000
-max_binlog_size   = 100M
-# binlog_do_db         = include_database_name
-# binlog_ignore_db     = include_database_name
diff --git a/etc/nginx/conf.d/wordpress.conf b/etc/nginx/conf.d/wordpress.conf
deleted file mode 100644 (file)
index f1c8e62..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-# WordPress single site rules.
-# Designed to be included in any server {} block.
-# Upstream to abstract backend connection(s) for php
-upstream php {
-        server unix:/tmp/php-cgi.socket;
-        server 127.0.0.1:9000;
-}
-server {
-        ## Your website name goes here.
-        server_name domain.tld;
-        ## Your only path reference.
-        root /var/www/wordpress;
-        ## This should be in your http block and if it is, it's not needed here.
-        index index.php;
-        location = /favicon.ico {
-                log_not_found off;
-                access_log off;
-        }
-        location = /robots.txt {
-                allow all;
-                log_not_found off;
-                access_log off;
-        }
-        location / {
-                # This is cool because no php is touched for static content.
-                # include the "?$args" part so non-default permalinks doesn't break when using query string
-                try_files $uri $uri/ /index.php?$args;
-        }
-        location ~ \.php$ {
-                #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
-                include fastcgi.conf;
-                fastcgi_intercept_errors on;
-                fastcgi_pass php;
-        }
-        location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-                expires max;
-                log_not_found off;
-        }
-}
index 86773539c2dacd81a7c7e4fc1f2933ddd4cab99a..42f8154ae5f009b5f91ad025a9ba7223a612d6ea 100644 (file)
@@ -34,7 +34,7 @@ server {
 
   # default favicon
   location = /favicon.ico {
-    alias /var/www/ntserv/static/favicon.gif;
+    alias /var/www/favicon.gif;
   }