diff --git a/Makefile b/Makefile index 0f4f929..89b3e3f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ serve: python -m http.server publish: - rsync --delete --recursive * root@themagician.cc:/usr/share/nginx/html/www/ - ssh root@themagician.cc 'chown -R www:www /usr/share/nginx/html/www/' + rsync --delete --recursive * root@themagician.cc:/var/www/themagician.cc/html/ + ssh root@themagician.cc 'chown -R www:www /var/www/themagician.cc/html/' + ssh root@themagician.cc 'chcon -vR system_u:object_r:httpd_sys_content_t:s0 /var/www/themagician.cc/'