当前位置:网站首页>Pagoda workman WSS reverse proxy socket legal domain name applet chat remove port
Pagoda workman WSS reverse proxy socket legal domain name applet chat remove port
2022-07-25 02:36:00 【51CTO】
advance workerman It's already configured
One 、 Configuration with ports ( Don't talk about configuration here , There are other tutorials )
Chat in applet , Need to set up socket Legitimate domain name :wss://www.xxx.com:2000

Two 、 Settings without ports
Pagoda configuration domain name , Handle wss Communication services
1、 Go to the domain name service provider to add the domain name wss.xxx.com
2、 Server application SSL certificate , And download
3、 Pagoda add domain name , Choose pure static

4、 The setting of the domain name corresponding to the pagoda , To configure SSL certificate , Open the certificate package just downloaded , Fill in the corresponding content , preservation

5、 The setting of the domain name corresponding to the pagoda -> The configuration file , stay server{ } Add the following at the end of the inner

Mainly these two lines :
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
边栏推荐
- Industrial control safety PLC firmware reverse II
- Nacos service discovery data model
- Apk packaging process
- Example demonstration of "uncover the secrets of asp.net core 6 framework" [02]: application development based on routing, MVC and grpc
- "Nowadays, more than 99.9% of the code is garbage!"
- Redis unauthorized access vulnerability recurrence (www.hetianlab.com)
- Simulation Implementation of [STL] string class
- Full analysis of new functions of report design tool FastReport online designer v2022.1
- "Introduction to interface testing" punch in to learn day07: websocket interface: how to test a completely unfamiliar protocol interface?
- Use unicloud cloud function to decode wechat motion steps in applet
猜你喜欢

Generator set work arrangement problem code

"I gave up programming and wrote a 1.3 million word hard science fiction."

Using ODBC to consume SAP ABAP CDs view in Excel

6-10 vulnerability exploitation SMTP experimental environment construction

B2B e-commerce trading platform of heavy metal industry: breaking the state of data isolation and improving the benefits of heavy metal industry

Introduction to web security telent testing and defense

Deep understanding of string class

Full analysis of new functions of report design tool FastReport online designer v2022.1

Example demonstration of "uncover the secrets of asp.net core 6 framework" [02]: application development based on routing, MVC and grpc

Creating elements of DOM series
随机推荐
AWD thinking
TS uses a third-party library, and there is no type declaration file error handling
Simulation Implementation of string function (Part 1)
"Nowadays, more than 99.9% of the code is garbage!"
Jenkins configuration plug-in interface displays "suggestions collection" in Chinese
6. Object storage
"Introduction to interface testing" punch in to learn day05: how can a testing framework support restful interfaces?
[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)
English grammar_ Reflexive pronoun
Remove & lt; li> Front blank distance
Automatically create partition tables by time and month in PostgreSQL
Matlab draws radar chart (four lines of code)
String class
Cloud native platform, let edge applications play out!
Consul cluster deployment
Explorer TSSD 2019 software installation package download and installation tutorial
"Introduction to interface testing" punch in day08: can you save all parameters to excel for test data?
Vite dynamically loads static resource pictures, and fixes the 404 problem of pictures after packaging.
After working for two months in the summer vacation, I understood three routing schemes of keepalived high availability
Web vulnerability