mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-21 20:54:57 +08:00
Make docker works
This commit is contained in:
parent
dc1e0aaf90
commit
6d6fd9a88c
|
@ -7,6 +7,7 @@ services:
|
|||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ./docker/nginx.conf.example:/etc/nginx/conf.d/default.conf:ro
|
||||
ports:
|
||||
- 80:80
|
||||
restart: always
|
||||
|
|
|
@ -27,34 +27,3 @@ 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