saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
33
nginx/conf.d/mully.go.ro.conf
Normal file
33
nginx/conf.d/mully.go.ro.conf
Normal 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user