October 12, 2024Less than 1 minute
- readme71
- work33
- unisa26
- Guide21
- python20
- AI17
- math14
- CSS14
- Assignment13
- VUE12
- docker10
- PTE9
- geoscience8
- model7
- linux7
- make7
- aws6
- classfier5
- 42Adelaide4
- github4
- nginx4
- slides4
- R3
- obs3
- HTML3
- media2
- google2
- openai2
- env2
- pip2
- csv2
- scraping2
- living1
- solar system1
- streamlit1
- Hyper-V1
- ffmpeg1
- notion1
- Ruby1
- clustering1
- md51
- jupyter1
- logging1
- pyinstaller1
- fastapi1
- http authorization1
Folder Structure
How to startup
Nginx & Http
Virtual Machine
server_name to match the domain name.
server_name
: the domain name of a server
Matching rules: (Please be careful of the order for domain matching)
October 12, 2024About 2 min
How to manage session using clustering systems
- ip_hash
Other-Hash: $cookie_jsessionid, $request_uri;
lua logic redirect - Redis + SpringSession
hash
- inner ip_hash
upstream httpget{
ip_hash;
server 192.168.1.1;
server 192.168.1.2;
}
October 12, 2024About 1 min
Add headers
add_header Access-Control-Allow-Credentials true;
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods GET,POST;
add_header Access-Control-Allow-Headers NT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization;
August 26, 2023Less than 1 minute