deb_debris

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
deb_debris [2025/05/02 07:42] โ€“ [๏ผ‹Work logs] Jรบne Parkdeb_debris [2025/07/28 04:31] (current) โ€“ [Nginx Reverse proxy] Jรบne Park
Line 149: Line 149:
 ---- ----
  
 +
 +==== Optimize Global SSL setting ==== 
 +
 +Edit ''/etc/nginx/nginx.conf'' to apply global settings 
 +
 +<code nginx> 
 +http {
 +    # ... existing configuration ...
 +    
 +    # Global SSL session cache (add this section)
 +    ssl_session_cache     shared:SSL:50m;
 +    ssl_session_timeout   1d;
 +    ssl_session_tickets   off;
 +    
 +    # Optional: Global SSL protocols and ciphers
 +    ssl_protocols         TLSv1.2 TLSv1.3;
 +    ssl_prefer_server_ciphers off;
 +    
 +    # ... rest of your http configuration ...
 +    
 +    # Include server blocks
 +    include /etc/nginx/sites-enabled/*;
 +}
 +</code> 
 +
 +Edit each nginx configuration file in ''/etc/nginx/sites-available/*'' and eliminated following lines
 +
 +<code nginx> 
 +# Remove these lines from other server blocks:
 +ssl_session_cache     shared:SSL:20m;  # or any size
 +ssl_session_timeout   1d;              # or any timeout
 +ssl_session_tickets   off;             # or on
 +ssl_protocols         TLSv1.2 TLSv1.3; # if you made it global
 +ssl_prefer_server_ciphers off;         # if you made it global
 +</code> 
 +
 +---- 
 ===== Solved problems ===== ===== Solved problems =====
  
  • deb_debris.1746171737
  • Last modified: 2025/05/02 07:42
  • by Jรบne Park