first commit

This commit is contained in:
cowrie
2026-01-30 12:39:40 +08:00
commit a2f9e06d09
7 changed files with 173 additions and 0 deletions

17
nginx/default.conf Normal file
View File

@ -0,0 +1,17 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ =404;
}
location /api/ {
proxy_pass http://api:3000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}