Comments (4)
I'm not sure what the problem is, you can compare my configuration below.
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name api.day.app ;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
# certs sent to the client in SERVER HELLO are concatenated in ssl_certificate
ssl_certificate ssl/day.app/day.app.cer;
ssl_certificate_key ssl/day.app/day.app.key;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
# modern configuration. tweak to your needs.
ssl_protocols TLSv1.2;
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
ssl_prefer_server_ciphers on;
# OCSP Stapling ---
# fetch OCSP records from URL in ssl_certificate and cache them
ssl_stapling on;
ssl_stapling_verify on;
## verify chain of trust of OCSP response using Root CA and Intermediate certs
ssl_trusted_certificate ssl/ca.cer;
location / {
proxy_pass http://127.0.0.1:8081;
}
}
server {
listen 80 ;
server_name api.day.app ;
location / {
proxy_pass http://127.0.0.1:8081;
}
}
from bark-server.
@dingyx99 Please remove the proxy_header Upgrade
config, this config is generally used to upgrade the http protocol to the websocket protocol(bark server is the standard http protocol).
If you don't know the nginx config file, it is recommended use the Mozilla SSL Configuration Generator to generate the nginx configuration.
from bark-server.
Thanks. I'll have a try and give you more feedback later. XD
from bark-server.
@mritd Thanks, but the problem didn't fix.😕Maybe there are something wrong with anything else in my server.
from bark-server.
Related Issues (20)
- 【MySQL】Docker容器如何连接MySQL HOT 1
- SIGQUIT: exit signal does not handle properly HOT 2
- APNS 真实设备 Token 如果泄露了,会有什么后果? HOT 1
- 【如何限制未知设备连接到服务器】 HOT 3
- windows部署
- 转义问题 HOT 2
- official freebsd release ? HOT 1
- failed device token from database HOT 3
- 如何更换p8证书 HOT 4
- 4Kb最终实际剩余文本推送大小是多少?
- 哪里可以判断空内容不进行推送 HOT 1
- Cloudflare Worker Version
- 私有部署服务每次调用都会触发两次 HOT 2
- Feature Request: Add Support for Scheduled Messaging
- bark-server 返回 408 ,但是代码中没有找到返回 408 的地方
- 自建dockerserver推送失败报错苹果服务器EOF
- docker 安装后直接提示404 HOT 1
- 请问是否支持多客户端?
- Bark能不能设置白名单 HOT 14
- 推送服务器网址不支持带子路径的吗?必须是网站根目录? HOT 2
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 bark-server.