diff --git a/nginx/conf.d/git.898.ro.conf b/nginx/conf.d/git.898.ro.conf index de57949..8bf0858 100644 --- a/nginx/conf.d/git.898.ro.conf +++ b/nginx/conf.d/git.898.ro.conf @@ -6,6 +6,9 @@ server { ssl_certificate_key /etc/letsencrypt/live/git.898.ro/privkey.pem; # 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 if ($scheme != "https") { return 301 https://$host$request_uri; @@ -14,7 +17,7 @@ server { server_name git.898.ro; 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 Host $http_host; }