os:linux:fedora
This is an old revision of the document!
Fedora/LKT
firewall-cmd --zone=public --add-port=3000/tcp firewall-cmd --add-service=http certbot certonly --standalone -d lieblichknuffeltal.de -d www.lieblichknuffeltal.de
- index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>gitea.lieblichknuffeltal.de</title> </head> <body> <h1>It works</h1> </body> </html>
- lkt.conf
server { listen 80; listen [::]:80; root /var/www/lieblichknuffeltal.de; index index.html; server_name lieblichknuffeltal.de www.lieblichknuffeltal.de; }
#selinux doesn't permit nginx to read /var/www- chcon -Rt httpd_sys_content_t /var/www
os/linux/fedora.1644784195.txt.gz · Last modified: 2022/02/13 21:29 by titannet