saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
13
nginx/lb_maintenance.config
Normal file
13
nginx/lb_maintenance.config
Normal file
@@ -0,0 +1,13 @@
|
||||
set $maintenance 0;
|
||||
|
||||
if (-f /var/www/html/maintenance/maintenance.html) {
|
||||
set $maintenance 1;
|
||||
}
|
||||
|
||||
if ($allowed_clients != 1) {
|
||||
set $maintenance "${maintenance}1";
|
||||
}
|
||||
|
||||
if ($maintenance = 11) {
|
||||
return 503;
|
||||
}
|
||||
Reference in New Issue
Block a user