prepAI / nginx.conf
aki-008
feat: spaces deployement
6f693aa
raw
history blame contribute delete
326 Bytes
server {
listen 7860;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
location /api/v1/ {
proxy_pass http://localhost:8000/api/v1/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}