mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-24 09:22:00 +08:00
Make docker works
This commit is contained in:
parent
a5cb1f729d
commit
dc1e0aaf90
|
@ -19,7 +19,10 @@ services:
|
|||
|
||||
UnblockNeteaseMusic:
|
||||
image: pan93412/unblock-netease-music-enhanced
|
||||
command: -o bilibili kugou kuwo pyncmd -p 80:443 -f 59.111.19.99
|
||||
command: -o kugou kuwo migu bilibili pyncmd -p 80:443 -f 45.127.129.53 -e -
|
||||
# environment:
|
||||
# JSON_LOG: true
|
||||
# LOG_LEVEL: debug
|
||||
networks:
|
||||
my_network:
|
||||
aliases:
|
||||
|
@ -32,4 +35,4 @@ services:
|
|||
|
||||
networks:
|
||||
my_network:
|
||||
driver: bridge
|
||||
driver: bridge
|
||||
|
|
|
@ -26,4 +26,35 @@ server {
|
|||
|
||||
proxy_pass http://localhost:3000/;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:80;
|
||||
server_name music.163.com interface.music.163.com interface3.music.163.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://UnblockNeteaseMusic:80;
|
||||
proxy_set_header HOST 'music.163.com';
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:443 ssl;
|
||||
server_name music.163.com interface.music.163.com interface3.music.163.com;
|
||||
|
||||
# ssl on;
|
||||
# ssl_certificate /etc/nginx/ssl/163/server.crt;
|
||||
# ssl_certificate_key /etc/nginx/ssl/163/server.key;
|
||||
|
||||
# ssl_session_timeout 10m;
|
||||
# ssl_session_cache shared:SSL:10m;
|
||||
|
||||
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
# ssl_ciphers 'AES128+EECDH:AES128+EDH';
|
||||
# ssl_prefer_server_ciphers on;
|
||||
|
||||
location / {
|
||||
proxy_pass https://UnblockNeteaseMusic:443;
|
||||
proxy_set_header HOST 'music.163.com';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user