Fixed 'cp' command for nginx.conf and nginx-mempool.conf

The destination path was a file, should be a directory.
This commit is contained in:
Thomas Leitz 2021-07-18 22:54:47 +02:00 committed by GitHub
parent 6e92dd5684
commit 053df13fbc

View File

@ -179,7 +179,7 @@ Install the supplied nginx.conf and nginx-mempool.conf in /etc/nginx
apt-get install -y nginx python-certbot-nginx apt-get install -y nginx python-certbot-nginx
# install the mempool configuration for nginx # install the mempool configuration for nginx
cp nginx.conf nginx-mempool.conf /etc/nginx/nginx.conf cp nginx.conf nginx-mempool.conf /etc/nginx/
# replace example.com with your domain name # replace example.com with your domain name
certbot --nginx -d example.com certbot --nginx -d example.com