nginx/nginx/site-confs/audiobooks.conf
2025-01-10 21:35:21 -08:00

20 lines
596 B
Text

## Version 2020/12/09
# make sure that your dns has a cname set for homeassistant and that your homeassistant container is not using a base url
server {
listen 80;
listen 443 ssl;
server_name audiobooks.*;
include /config/nginx/ssl.conf;
# include /config/nginx/local_only.conf;
location / {
include /config/nginx/proxy.conf;
# include /config/nginx/resolver.conf;
proxy_pass http://audiobookshelf;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
}