search2_chatgpt/nginx/default.conf

17 lines
270 B
Text

server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html;
}
location /files/ {
root /usr/share/nginx/html;
autoindex on;
}
location /search {
proxy_pass http://backend:8000;
}
}