User Tools

Site Tools


os:linux:fedora

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
os:linux:fedora [2022/02/13 21:29] titannetos:linux:fedora [2022/03/28 20:21] (current) titannet
Line 41: Line 41:
 #selinux doesn't permit nginx to read /var/www- #selinux doesn't permit nginx to read /var/www-
 chcon -Rt httpd_sys_content_t /var/www chcon -Rt httpd_sys_content_t /var/www
 +
 +dnf install python3-certbot-nginx
 +certbot -d gitea.lieblichknuffeltal.de --expand --nginx
 +
 +</code>
 +
 +<code bash>
 + cat /var/log/audit/audit.log | grep denied | grep 3000
 +dnf whatprovides audit2why
 +dnf install  policycoreutils-python-utils
 +
 +cat /var/log/audit/audit.log | grep denied | grep 3000 | audit2why
 +setsebool -P httpd_can_network_connect 1
 +# or [doesn't work]
 +semanage port --add --type http_port_t --proto tcp 3000
 +semanage port -l | grep 3000
 +
 </code> </code>
os/linux/fedora.1644784195.txt.gz · Last modified: 2022/02/13 21:29 by titannet

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki