solveai / nginx /default.conf
Azeez98's picture
Update nginx/default.conf
3619fe3 verified
raw
history blame contribute delete
322 Bytes
server {
listen 8080;
server_name localhost;
location / {
proxy_pass http://localhost:7860;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /static/ {
alias /app/static/;
}
location /media/ {
alias /app/media/;
}
}