daily autocommit

This commit is contained in:
2022-02-04 13:32:44 +02:00
parent 35b4f80088
commit 10bd130af5
9 changed files with 30 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
server {
listen 192.168.1.2:80;
server_name git.898.ro;
listen 192.168.1.2:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/git.898.ro/fullchain.pem; # managed by Certbot
@@ -14,10 +15,14 @@ server {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name git.898.ro;
location / {
proxy_pass http://192.168.1.5:4000/;
proxy_pass https://mail.898.ro/gitea;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}
location /gitea {
proxy_pass https://mail.898.ro/gitea;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
}