saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
26
nginx/conf.d/vpn.898.ro.conf
Normal file
26
nginx/conf.d/vpn.898.ro.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
server {
|
||||
listen 192.168.1.2:80;
|
||||
server_name vpn.898.ro;
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 192.168.1.2:443 http2 ssl;
|
||||
|
||||
server_name vpn.898.ro;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/vpn.898.ro/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/vpn.898.ro/privkey.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
|
||||
access_log /var/log/nginx/vpn.898.ro.access.log;
|
||||
error_log /var/log/nginx/vpn.898.ro.error.log notice;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.1.100:8443;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user