~cytrogen/srht-deploy

srht-deploy/todo-custom/nginx.conf -rw-r--r-- 283 bytes
6b7b1351 — Cytrogen 修复 README 里的 Markdown 格式错误 9 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server {
    listen 8080 default_server;
    listen [::]:8080 default_server;

    location / {
        proxy_pass http://127.0.0.1:5003;
    }

    location /query {
        proxy_pass http://127.0.0.1:5103;
    }

    location /static {
        root /usr/share/sourcehut/;
    }
}