saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-12-06 15:21:35 +02:00
parent 36b77bfee3
commit 2900721b19
7 changed files with 48 additions and 43 deletions

View File

@@ -1,16 +1,22 @@
# allow list
geo $allow {
192.168.1.0/24 allowed;
188.26.227.57/32 allowed;
}
# whitelisted clients
include /etc/nginx/allowed_clients.config;
server {
listen 192.168.1.2:80;
server_name maintenance.898.ro;
root /var/www/html/maintenance;
index index.html;
access_log /var/log/nginx/maintenance.access.log;
error_log /var/log/nginx/maintenance.error.log notice;
# maintenance error page
include /etc/nginx/lb_maint_5x.config;
location / {
# maintenance logic
include /etc/nginx/lb_maintenance.config;
index index.html;
}
}