kaneo (minimalist kanban) fork to experiment adding a tangled integration
github.com/usekaneo/kaneo
1server {
2 listen 5173;
3 server_name localhost;
4
5 # Security headers
6 add_header X-Content-Type-Options "nosniff" always;
7 add_header X-Frame-Options "SAMEORIGIN" always;
8 add_header X-XSS-Protection "1; mode=block" always;
9 add_header Referrer-Policy "strict-origin-when-cross-origin" always;
10
11 # Enable gzip compression
12 gzip on;
13 gzip_vary on;
14 gzip_min_length 1000;
15 gzip_proxied any;
16 gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
17 gzip_comp_level 6;
18
19 location = /.well-known/oauth-protected-resource/api/mcp {
20 default_type application/json;
21 return 200 'MCP_PRM_JSON_PLACEHOLDER';
22 }
23
24 location = /.well-known/oauth-authorization-server/api {
25 default_type application/json;
26 return 200 'MCP_AS_JSON_PLACEHOLDER';
27 }
28
29 location /.well-known/ {
30 return 404;
31 }
32
33 # Root location
34 location / {
35 root /usr/share/nginx/html;
36 index index.html;
37 try_files $uri $uri/ /index.html;
38 }
39
40 # Cache static assets
41 # location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
42 # root /usr/share/nginx/html;
43 # expires 30d;
44 # add_header Cache-Control "public, max-age=2592000";
45 # access_log off;
46 # }
47}