aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/code.conf.template
blob: a67500df0191b54f7ee42ebde01d121708f6eec9 (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 code.${CRUPEST_DOMAIN};
    
    location / {
        include common/proxy-common;
        proxy_pass http://debian-dev:8080/;
    }

    client_max_body_size 5G;
}


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

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