aboutsummaryrefslogtreecommitdiff
path: root/templates/nginx/git.conf.template
blob: ea2a627b79c9dd76c0214b395d50eab74fd99c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name git.${CRUPEST_DOMAIN};
    
    location / {
        include common/proxy-common;
        proxy_pass http://forgejo:3000/;
    }

    client_max_body_size 5G;
}


server {
    listen 80;
    listen [::]:80;
    server_name git.${CRUPEST_DOMAIN};

    include common/https-redirect;
    include common/acme-challenge;
}