saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-11-17 19:58:12 +02:00
parent 4dc04f9948
commit 2ff7a6d330
16 changed files with 366 additions and 0 deletions

30
nginx/conf.d/898.ro.conf Normal file
View File

@@ -0,0 +1,30 @@
server {
listen 192.168.1.2:80;
server_name 898.ro www.898.ro;
charset utf-8;
root /var/www/html;
index index.html;
access_log /var/log/nginx/898.ro.access.log;
error_log /var/log/nginx/898.ro.error.log;
# gzip should not be used with SSL
gzip off;
listen 192.168.1.2:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/www.898.ro/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.898.ro/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
# redirect www.898.ro to 898.ro for both HTTP and HTTPS
if ($host = www.898.ro) {
return 301 $scheme://898.ro$request_uri;
}
# default location - proxy to local Jekyll
location / {
proxy_pass http://127.0.0.1:4000;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
}