mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-16 22:52:27 +00:00
Lots of bug fixes and performance improvements (#410)
* Many bug fixes and performance enhancements * Fix warnings and speed up photos with me * Finish refactoring user serialization * Finish refactoring user serialization Use GameTokens instead of User when possible Prevent negative page sizes * Fix debug compilation * Add gzip compression to example nginx config * Remove deflate changes * Add UsernameFromWebToken Co-authored-by: Jayden <jvyden@jvyden.xyz>
This commit is contained in:
parent
8dbd0e63ff
commit
d23a264b8a
43 changed files with 625 additions and 505 deletions
|
@ -8,6 +8,12 @@ server {
|
|||
ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers ALL;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
# Enable gzip Compression
|
||||
gzip on;
|
||||
gzip_types *;
|
||||
gzip_http_version 1.1;
|
||||
gzip_min_length 100;
|
||||
|
||||
# Server locations
|
||||
# Technically, the ports dont follow standards,
|
||||
|
@ -52,4 +58,4 @@ server {
|
|||
proxy_pass http://127.0.0.1:10061;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue