summarylogtreecommitdiffstats
path: root/bark-server.conf
blob: 4dbcccaaab1340722da92ef7ebcc1ffe8c747b1e (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 80;
    listen [::]:80;
    # Replace bark.app.dev with your real domain name.
    server_name bark.app.dev;
    location / {

        log_not_found on;
        # Replace http://127.0.0.1:18080 with the listening address of the bark server.
        proxy_pass http://127.0.0.1:18080;

        proxy_read_timeout 300;
        proxy_connect_timeout 300;
        proxy_redirect off;

        proxy_set_header Host              $host;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP         $remote_addr;

    }
}