Hi,
i'm just trying to get nginx running with plexconnect.
At the moment i get all the time the following error, from nginx.
2015/02/14 12:38:48 [emerg] 13082#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
I just added this config from https://forums.plex.tv/index.p…plexconnect-behind-nginx/
Code
upstream plexconnect {
server 192.168.0.42:8080;
}
server {
listen 80;
server_name trailers.apple.com;
location / {
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_pass http://plexconnect;
}
}
server {
listen 443;
server_name trailers.apple.com;
ssl_certificate /path/to/plexconnect/assets/certificates/trailers.pem;
ssl_certificate_key /path/to/plexconnect/assets/certificates/trailers.key;
ssl on;
location / {
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_pass http://plexconnect;
}
}
Alles anzeigen
Did anybody got Plexconnect working with nginx and openmediavault.
BR Robert