saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-10-23 15:56:04 +03:00
parent 04237a62d6
commit 7817b40ae2
84 changed files with 6999 additions and 3629 deletions

View File

@@ -1,44 +0,0 @@
server {
listen 192.168.1.2:80;
server_name zira.go.ro;
charset utf-8;
root /var/www/html/vhosts/club3d.ro/;
index index.php index.html index.htm;
access_log /var/log/nginx/club3d.ro.access.log;
error_log /var/log/nginx/club3d.ro.error.log;
location ~* \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
location /madalin {
autoindex on;
}
# gzip should not be used with SSL
gzip off;
location /sgwi {
auth_basic "Private Zone";
auth_basic_user_file /etc/nginx/.htpasswd;
}
listen 192.168.1.2:443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/zira.go.ro/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/zira.go.ro/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
### redirect
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}

View File

@@ -0,0 +1,33 @@
server {
server_name mully.go.ro mully.898.ro;
charset utf-8;
listen 192.168.1.2:443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/mully.898.ro/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/mully.898.ro/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
location / {
allow 192.168.1.0/24;
allow 10.208.1.0/24;
allow 85.121.136.12/32;
allow 188.26.53.107/32;
deny all;
proxy_pass http://192.168.1.5:80;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
}
server {
if ($host = mully.go.ro) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 192.168.1.2:80;
server_name mully.go.ro mully.898.ro;
return 404; # managed by Certbot
}

View File

@@ -1,12 +0,0 @@
server {
listen 192.168.1.2:80;
server_name zira.898.ro;
charset utf-8;
root /var/www/html/zira.898.ro;
index index.php index.html index.htm;
access_log /var/log/nginx/zira.898.ro.access.log;
error_log /var/log/nginx/zira.898.ro.error.log;
#location / { rewrite ^ https://zira.898.ro$request_uri permanent; }
}

View File

@@ -1,12 +0,0 @@
server {
listen 192.168.1.2:80;
server_name zira.go.ro;
charset utf-8;
location / {
proxy_pass http://192.168.1.5:80;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
}