First, create a directory
mkdir mirrors
Into the directory
cd mirrors
Creating multiple directories
mkdir {3..7}.{1..9}
Into one directory
cd 7.9
Create a file
touch Centos7.9.iso
Modify the main configuration file
vim /usr/local/nginx/conf/nginx.conf
Add Content:
location /mirrors {
autoindex on;
}
To the web access