From 23e7b2cdffd35766d5d0fca39aad5e98a07a5009 Mon Sep 17 00:00:00 2001 From: bms8197 Date: Mon, 4 Jul 2022 13:54:36 +0300 Subject: [PATCH] saving uncommitted changes in /etc prior to dnf run --- .etckeeper | 1 + csf/csf.conf | 2 +- csf/csf.ignore | 11 ++++------- nginx/conf.d/ateliersai.com.conf | 15 +++++++++++++++ 4 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 nginx/conf.d/ateliersai.com.conf diff --git a/.etckeeper b/.etckeeper index 57e5763..314b728 100755 --- a/.etckeeper +++ b/.etckeeper @@ -3621,6 +3621,7 @@ maybe chmod 0644 'nginx/conf.d/_zira.go.ro.conf' maybe chown 'nginx' 'nginx/conf.d/anywhere.ro.conf' maybe chgrp 'nginx' 'nginx/conf.d/anywhere.ro.conf' maybe chmod 0640 'nginx/conf.d/anywhere.ro.conf' +maybe chmod 0640 'nginx/conf.d/ateliersai.com.conf' maybe chown 'nginx' 'nginx/conf.d/blank.conf' maybe chgrp 'nginx' 'nginx/conf.d/blank.conf' maybe chmod 0644 'nginx/conf.d/blank.conf' diff --git a/csf/csf.conf b/csf/csf.conf index 33af82a..ebf6214 100644 --- a/csf/csf.conf +++ b/csf/csf.conf @@ -136,7 +136,7 @@ AUTO_UPDATES = "1" LF_SPI = "1" # Allow incoming TCP ports -TCP_IN = "20,21,22,25,26,53,80,88,110,143,443,465,587,873,904,953,992,993,995,1907:1909,1723,1986,2082,2083,2086,2087,2095,2096,8080,8443,8800,8988,9391,9999,65534,5080,5665,5666,5222,5269,52222,40000:40100,11898" +TCP_IN = "20,21,22,25,26,53,80,88,110,143,443,465,587,873,904,953,992,993,995,1907:1909,1723,1986,2082,2083,2086,2087,2095,2096,8080,8443,8800,8988,9080,9443,9391,9999,65534,5080,5665,5666,5222,5269,52222,40000:40100,11898" # Allow outgoing TCP ports TCP_OUT = "1:65535" diff --git a/csf/csf.ignore b/csf/csf.ignore index e32356a..ff69186 100644 --- a/csf/csf.ignore +++ b/csf/csf.ignore @@ -22,16 +22,13 @@ 188.215.64.126/32 188.214.17.248/32 +# Madrivo +208.68.37.110/32 + # RDS -188.26.229.72 +188.25.145.85 # RND 82.76.35.228 86.120.251.224 -# Saturn -84.117.190.166 -154.16.192.235 -213.233.110.105 - -188.25.145.85 diff --git a/nginx/conf.d/ateliersai.com.conf b/nginx/conf.d/ateliersai.com.conf new file mode 100644 index 0000000..6494c2d --- /dev/null +++ b/nginx/conf.d/ateliersai.com.conf @@ -0,0 +1,15 @@ +server { + listen 192.168.1.2:80; + + server_name ateliersai.com www.ateliersai.com; + + access_log /var/log/nginx/ateliersai.com.access.log; + error_log /var/log/nginx/ateliersai.com.error.log notice; + + location / { + proxy_pass http://127.0.0.1:9080/; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + } +} +