saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -20,10 +20,25 @@ server {
|
||||
if ($host = www.898.ro) {
|
||||
return 301 $scheme://898.ro$request_uri;
|
||||
}
|
||||
|
||||
# Redirect /blog/ URLs to index page
|
||||
location ~ ^/blog/(.*) {
|
||||
return 301 https://898.ro;
|
||||
}
|
||||
|
||||
# Redirect /blog/tag/ URLs to /tags/
|
||||
location ~ ^/blog/tag/(.*) {
|
||||
return 301 https://898.ro/tags/$1;
|
||||
}
|
||||
|
||||
# Redirect /tag/ URLs to /tags/
|
||||
location ~ ^/tag/(.*) {
|
||||
return 301 https://898.ro/tags/$1;
|
||||
}
|
||||
|
||||
# default location - proxy to local Jekyll
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:4000;
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -8,15 +8,8 @@ server {
|
||||
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;
|
||||
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;
|
||||
}
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user