navidrome/config/nginx/navidrome.conf
casjay a9cc79022a
🦈🏠🐜 Initial Commit 🐜🦈🏠
2022-09-06 22:33:07 -04:00

17 lines
545 B
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name *;
location / {
# replace local-address with your navidrome server's IP
proxy_pass http://127.0.0.1:4533/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_buffering off;
}