buy and sell
server {
listen xxx.xxx.xxx.xxx:80;
server_name www.domain.com domain.com;
return 301 https://www.domain.com$request_uri;
}
server {
listen xxx.xxx.xxx.xxx:443 ssl;
server_name domain.com www.domain.com;
root /var/www/www.domain.com/html;
index index.php;
ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem;
include /etc/nginx/confs/wordpress.conf;
include /etc/nginx/confs/cache.conf;
include /etc/nginx/confs/ssh.conf;
include /etc/nginx/confs/all.conf;
}
service mysql stop
или
/etc/init.d/mysql stop