semanage port -a -t http_port_t -p tcp 82
semanage fcontext -m -t httpd_sys_content_t /var/www/html/file1 //必须先做这步再做restorecon
restorecon -Rv /var/www/html
firewall-cmd --permanent --add-port=82/tcp
firewall-cmd --reload
systemctl enable --now httpd