saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -6,6 +6,9 @@ server {
|
|||||||
ssl_certificate_key /etc/letsencrypt/live/git.898.ro/privkey.pem; # managed by Certbot
|
ssl_certificate_key /etc/letsencrypt/live/git.898.ro/privkey.pem; # managed by Certbot
|
||||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||||
|
|
||||||
|
access_log /var/log/nginx/git.898.ro.access.log;
|
||||||
|
error_log /var/log/nginx/git.898.ro.error.log;
|
||||||
|
|
||||||
### redirect
|
### redirect
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
@@ -14,7 +17,7 @@ server {
|
|||||||
server_name git.898.ro;
|
server_name git.898.ro;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://10.208.1.81;
|
proxy_pass http://192.168.1.5:4000/;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user