Comments (3)
我用的是宝塔,你可以参考下
server
{
listen 80;
listen 443 ssl http2;
server_name music.imsyy.top;
index index.php index.html index.htm default.php default.htm default.html;
root /www/wwwroot/music;
#error_page 404/404.html;
#HTTP_TO_HTTPS_START
if ($server_port !~ 443){
rewrite ^(/.*)$ https://$host$1 permanent;
}
#HTTP_TO_HTTPS_END
ssl_certificate /www/server/panel/vhost/cert/music.imsyy.top/fullchain.pem;
ssl_certificate_key /www/server/panel/vhost/cert/music.imsyy.top/privkey.pem;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
add_header Strict-Transport-Security "max-age=31536000";
error_page 497 https://$host$request_uri;
#SSL-END
include enable-php-00.conf;
include /www/server/panel/vhost/rewrite/music.imsyy.top.conf;
location ~ ^/(\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)
{
return 404;
}
location ~ \.well-known{
allow all;
}
if ( $uri ~ "^/\.well-known/.*\.(php|jsp|py|js|css|lua|ts|go|zip|tar\.gz|rar|7z|sql|bak)$" ) {
return 403;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log /dev/null;
access_log /dev/null;
}
location ~ .*\.(js|css)?$
{
expires 12h;
error_log /dev/null;
access_log /dev/null;
}
access_log /www/wwwlogs/music.imsyy.top.log;
error_log /www/wwwlogs/music.imsyy.top.error.log;
}
from splayer.
感谢作者回答,已经解决,但是咱的代码dev分支是最新代码对吗?扫码登陆不太生效,扫码后也没有反应接口显示扫码成功
from splayer.
感谢作者回答,已经解决,但是咱的代码dev分支是最新代码对吗?扫码登陆不太生效,扫码后也没有反应接口显示扫码成功
现版本存在很多问题,目前正在重构,即将完成 😘
from splayer.
Related Issues (20)
- 【遇到问题】登录问题 HOT 1
- 【遇到问题】上传歌曲错误 HOT 1
- 【遇到问题】Vercel部署时出现问题
- 无法连接到自己搭建的api HOT 2
- 有个疑惑,为什么linux下点击关闭窗口按钮,需要获取root权限? HOT 2
- NeteaseCloudMusicApi停止维护 HOT 5
- 不知道登录了谁的账号 HOT 1
- 关于标题栏按钮的问题 HOT 3
- 登录账号时 ; n-tabs-tab 组件的小Bug HOT 3
- 登录二维码异常 HOT 1
- 关于粗体字体的问题 HOT 4
- 网页端无法正常访问 HOT 1
- 空格键会同时触发暂停和下滑
- 请问首页加载不出来,也登录不了是因为在线版本将转为维护模式的原因吗? HOT 5
- 歌词模式下窗口无法拖动 HOT 1
- 打开软件后就全白 HOT 2
- 遇到一些问题,不知道算不算bug;无法显示评论 HOT 3
- vercel部署修改api接口地址时候,最后部分不要保留;号,按作者示例的话,会导致无法调取api接口
- 能不能增加个功能。可以下载到群辉本地目录。 HOT 2
- 🔄 项目重构 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splayer.