~xenrox/ansible

ref: 26d5319dc85634012cbadad4bbd840ea88c3e0bc ansible/roles/uptime_kuma/files/uptimekuma.conf -rw-r--r-- 493 bytes
26d5319dThorben Günther Make ansible-lint happy 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
server {
    include /etc/nginx/snippets/http.conf;
    server_name status.xenrox.net;
}

server {
    include /etc/nginx/snippets/https.conf;
    server_name status.xenrox.net;


    location / {
        proxy_pass http://127.0.0.1:3001;

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}