当前位置:网站首页>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";
边栏推荐
- UDP message structure and precautions
- "No such plugin: cloudbees folder" solution appears when Jenkins selects the recommended plug-in for the first time
- ByteDance confirmation will be self-developed chip: for internal use only; Musk: I have uploaded my brain to the cloud; Go language product head leaves | geek headline
- C language: Structure -- a detailed explanation of memory byte alignment
- Actual combat in ThreadLocal project
- High performance memory recovery technology for decrypting ark -- HPP GC
- Gerrit statistics script
- Seven text editors that programmers should know are necessary for programming
- Redux best practices "Redux toolkit"
- Remove & lt; li> Front blank distance
猜你喜欢

Flutter apple native Pinyin keyboard input exception on textfield | Pinyin input process callback problem

Use unicloud cloud function to decode wechat motion steps in applet

My creation anniversary (3rd Anniversary)

Hongmeng harmonyos 3 official announcement: officially released on July 27; Apple slowed down the recruitment and expenditure of some teams in 2023; Russia fined Google 2.6 billion yuan | geek headlin

Is it necessary to increase the number of milliseconds and save several KB of memory in the program?
![[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)](/img/b3/075ad2d555118272efede5a9969319.png)
[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)

Detailed explanation of manually writing servlet in idea

6-10 vulnerability exploitation SMTP experimental environment construction

Generator set work arrangement problem code

Object.defineproperty use
随机推荐
Mp4 package analysis
Use unicloud cloud function to decode wechat motion steps in applet
A weird jedisconnectionexception: connection rejected problem
Details of C language compilation preprocessing and comparison of macros and functions
Cloud native platform, let edge applications play out!
CSRF attack principle scenario
Simulation Implementation of string function (Part 1)
Redux best practices "Redux toolkit"
Use SAP ui5 application to consume create and delete operations of OData in business application studio
Cookies and sessions
How MySQL 8.0 based on TRX_ Id find the statement of the whole transaction
"Introduction to interface testing" punch in to learn day07: websocket interface: how to test a completely unfamiliar protocol interface?
Visualization of correlation coefficient matrix
@Retryable @backoff @recover retry the use of annotations
File file name change
On the economic model of open source ecology
Insertion of balanced binary tree (AVL tree)
Application method and practical case of sqlmap of penetration test SQL injection
English grammar_ Reflexive pronoun
R language uses logistic regression, ANOVA, outlier analysis and visual classification iris iris data set