CentOS 8: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with "My notes on CentOS 8... just a '''DRAFT''' so far! == nginx as reverse proxy == <code>setsebool httpd_can_network_connect on -P</code> [https://stackoverflow.com/questions/...")
 
m (Added category)
 
Line 34: Line 34:


<code>x</code>
<code>x</code>
[[Category:Linux]]

Latest revision as of 18:39, 1 August 2023

My notes on CentOS 8... just a DRAFT so far!

nginx as reverse proxy

setsebool httpd_can_network_connect on -P

Credits

Allow access through firewall

firewall-cmd --zone=public --permanent --add-service=https

firewall-cmd --zone=public --permanent --add-service=http

firewall-cmd --reload

Credits

nginx self-signed TLS certificates

openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/nginx/private/server.key -x509 -days 365 -out /etc/pki/nginx/server.crt

Credits

Adding additional IP addresses

nmcli con mod ens3 +ipv6.addresses "2001:db8::2"

Credits

Question: Which service should be restarted, so that "ip -6 a a..." has not to be issued manually?

x