saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-03-12 10:41:59 +02:00
parent e5d4220c2b
commit af4042f69f
7 changed files with 12 additions and 408 deletions

View File

@@ -1,34 +0,0 @@
server {
listen 192.168.1.2:80;
server_name files.898.ro;
charset utf-8;
root /var/www/html/afiles;
index index.php index.html index.htm;
access_log /var/log/nginx/files.898.ro.access.log;
error_log /var/log/nginx/files.898.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;
}
# gzip should not be used with SSL
gzip off;
listen 192.168.1.2:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/files.898.ro/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/files.898.ro/privkey.pem; # managed by Certbot
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

@@ -1,44 +0,0 @@
server {
listen 192.168.1.2:80;
server_name mail.898.ro;
charset utf-8;
root /var/www/html/roundcubemail;
index index.php;
client_max_body_size 128M;
access_log /var/log/nginx/mail.898.ro.access.log;
error_log /var/log/nginx/mail.898.ro.error.log;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
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 ^~ /data {
deny all;
}
# gzip should not be used with SSL
gzip off;
listen 192.168.1.2:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/mail.898.ro/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.898.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

@@ -1,40 +0,0 @@
server {
server_name trace.898.ro;
charset utf-8;
root /var/www/html/vhosts/club3d.ro/mtr;
index index.html index.php;
access_log /var/log/nginx/trace.898.ro.access.log;
error_log /var/log/nginx/trace.898.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_max_temp_file_size 0;
fastcgi_buffer_size 4K;
fastcgi_buffers 64 4k;
}
listen 192.168.1.2:443 ssl http2; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/trace.898.ro/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/trace.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
}
server {
if ($host = trace.898.ro) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 192.168.1.2:80;
server_name trace.898.ro;
return 404; # managed by Certbot
}