systemctl stop mysqld
systemctl set-environment MYSQLD_OPTS="--skip-grant-tables"
systemctl start mysqld
systemctl stop mysqld
systemctl unset-environment MYSQLD_OPTS
systemctl start mysqld
location /var/www/nodejs/ {
proxy_pass http://5.63.152.158:5000;
include nginxconfig.io/proxy.conf;
}
- ./site:/var/www/html
dmitryg@MacBook-Pro:~/tmp/wp|⇒ ls -la site
total 196
drwxrwxrwx 23 dmitryg staff 736 Jul 17 12:31 .
drwxr-xr-x 4 dmitryg staff 128 Jul 17 12:30 ..
-rw-r--r-- 1 dmitryg staff 234 Jul 17 12:31 .htaccess
-rw-r--r-- 1 dmitryg staff 405 Feb 6 09:33 index.php
-rw-r--r-- 1 dmitryg staff 19915 Feb 12 14:54 license.txt
-rw-r--r-- 1 dmitryg staff 7278 Jan 10 2020 readme.html
-rw-r--r-- 1 dmitryg staff 6912 Feb 6 09:33 wp-activate.php
drwxr-xr-x 97 dmitryg staff 3104 Jun 11 00:48 wp-admin
-rw-r--r-- 1 dmitryg staff 351 Feb 6 09:33 wp-blog-header.php
-rw-r--r-- 1 dmitryg staff 2332 Jun 2 23:26 wp-comments-post.php
-rw-r--r--+ 1 dmitryg staff 2823 Jul 17 12:31 wp-config-sample.php
-rw-r--r--+ 1 dmitryg staff 3194 Jul 17 12:31 wp-config.php
<.dmitryg@MacBook-Pro:~/tmp/wp|⇒ ls -la site
total 196
drwxrwxrwx 23 dmitryg staff 736 Jul 17 12:31 .
drwxr-xr-x 4 dmitryg staff 128 Jul 17 12:30 ..
-rw-r--r-- 1 dmitryg staff 234 Jul 17 12:31 .htaccess
-rw-r--r-- 1 dmitryg staff 405 Feb 6 09:33 index.php
-rw-r--r-- 1 dmitryg staff 19915 Feb 12 14:54 license.txt
-rw-r--r-- 1 dmitryg staff 7278 Jan 10 2020 readme.html
-rw-r--r-- 1 dmitryg staff 6912 Feb 6 09:33 wp-activate.php
drwxr-xr-x 97 dmitryg staff 3104 Jun 11 00:48 wp-admin
-rw-r--r-- 1 dmitryg staff 351 Feb 6 09:33 wp-blog-header.php
-rw-r--r-- 1 dmitryg staff 2332 Jun 2 23:26 wp-comments-post.php
-rw-r--r--+ 1 dmitryg staff 2823 Jul 17 12:31 wp-config-sample.php
-rw-r--r--+ 1 dmitryg staff 3194 Jul 17 12:31 wp-config.ph
вот. это уже интереснее.
а ta.key у вас есть?
и у клиента при такой опции в конфиге сервера должна быть такая строка
tls-auth ta.key 1