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
Next revision
Previous revision
deb_debris [2024/04/18 09:01] โ€“ Jรบne Parkdeb_debris [2025/07/28 04:31] (current) โ€“ [Nginx Reverse proxy] Jรบne Park
Line 45: Line 45:
 <code ini> <code ini>
 Mounted on Type  Size  Used Avail Use% Mounted on Type  Size  Used Avail Use%
-/          ext4   20G  7.8G   11G  43%ย +/          ext4   20G  7.9G   11G  43%ย 
-/boot      ext4  974M  252M  655M  28%ย +/boot      ext4  974M  253M  655M  28%ย 
-/home      ext4  916G  286G  584G  33%+/home      ext4  916G  292G  578G  34%
 </code> </code>
  
Line 58: Line 58:
 ==== ๏ผ‹Work logs ====  ==== ๏ผ‹Work logs ==== 
  
 +  * System Upgrade ''**Ubuntu 24.04 noble numbat**''<sub>  --- Updated on //2025/05/02 07:42// </sub>
 +  * Attach Ubuntu Pro subscription <sub>  --- Updated on //2024/05/21 17:41// </sub>
   * Upgrade ''php 8.2'' and purge ''php 7.4'', ''php 8.0'' and ''php 8.1'' <sub>  --- Updated on //2023/06/04 03:57// </sub>   * Upgrade ''php 8.2'' and purge ''php 7.4'', ''php 8.0'' and ''php 8.1'' <sub>  --- Updated on //2023/06/04 03:57// </sub>
   * Upgrade ''Ubuntu 22.04.1 LTS (Jammy Jellyfish)'' <sub>  --- Updated on //2022/09/09 17:40// </sub>   * Upgrade ''Ubuntu 22.04.1 LTS (Jammy Jellyfish)'' <sub>  --- Updated on //2022/09/09 17:40// </sub>
Line 147: 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.1713430862
  • Last modified: 2024/04/18 09:01
  • by Jรบne Park