Skip to content

Instantly share code, notes, and snippets.

@UmutAlihan
Created October 7, 2020 22:22
Show Gist options
  • Save UmutAlihan/35b14f7de41868af1989e6d05820aac2 to your computer and use it in GitHub Desktop.
Save UmutAlihan/35b14f7de41868af1989e6d05820aac2 to your computer and use it in GitHub Desktop.
This gists are my notes on the journe to solve issues while setting up my music server container
# Source:
- https://github.com/Hyzual/docker-koel
# init:
- docker exec -it <container_name_for_koel> bash
- php artisan koel:init
# fail over https reverse proxy
# error code on clients browser console:
# Mixed Content: The page at 'https://listenalihan.duckdns.org/' was loaded over HTTPS, but requested an insecure favicon 'http://listenalihan.duckdns.org/public/img/icon.png'. This request has been blocked; the content must be served over HTTPS
# source: https://github.com/koel/koel/issues/681
- go into container
- install nano (apt install nano)
- nano /var/www/html/index.php
- add lines below after autoload reuqire:
$_SERVER['SERVER_PORT'] = "443";
$_SERVER['HTTPS'] = "on";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment