saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-10-17 20:18:20 +03:00
parent 991838e31f
commit 7afa06f3ca
5 changed files with 8 additions and 4 deletions

View File

@@ -2621,6 +2621,7 @@ WGET = "/usr/bin/wget"
# Note: File globs are only evaluated when lfd is started
#
HTACCESS_LOG = "/var/log/nginx/error.log"
NGINX_LOG = "/var/log/nginx/*.access.log"
MODSEC_LOG = ""
SSHD_LOG = "/var/log/secure"
SU_LOG = "/var/log/secure"

View File

@@ -40,4 +40,5 @@
185.44.147.129
94.69.148.225
94.70.109.113
94.68.45.238

2
hosts
View File

@@ -2,6 +2,8 @@
134.122.29.182 consul1
# Madrivo
167.172.23.191 grafana.madrivosoftware.com grafana
###
192.168.1.2 linux.vrem.ro linux

View File

@@ -18,7 +18,7 @@ server {
error_log /var/log/nginx/vpn.898.ro.error.log notice;
location / {
proxy_pass http://192.168.1.100:8443;
proxy_pass https://192.168.1.100:8443;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}

View File

@@ -2,10 +2,10 @@
export PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:$PATH"
DATE="$(date)"
#DATE="$(date)"
HOSTNAME="$(hostname)"
USERIP="$(echo "$SSH_CONNECTION" | cut -d " " -f 1)"
RDNS="$(dig -x "$USERIP" +short)"
#USERIP="$(echo "$SSH_CONNECTION" | cut -d " " -f 1)"
#RDNS="$(dig -x "$USERIP" +short)"
if [[ "$USER" == "laser" ]]
then