User Tools

Site Tools


servers:linux:nginx_php_php-fpm

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:linux:nginx_php_php-fpm [2026/05/09 20:20] – [Headers] Sean Rhoneservers:linux:nginx_php_php-fpm [2026/06/03 00:27] (current) – [Let's Encrypt] more PQC Sean Rhone
Line 41: Line 41:
 **** ****
  
-  sudo mv '/etc/nginx/nginx.conf' '/etc/nginx/nginx.conf~'+  sudo mv -fv '/etc/nginx/nginx.conf' '/etc/nginx/nginx.conf~'
  
 ===== PHP-FPM ===== ===== PHP-FPM =====
Line 47: Line 47:
 **** ****
  
-  sudo mv '/etc/php8/fpm/php-fpm.d/www.conf' '/etc/php8/fpm/php-fpm.d/www.conf~'+  sudo mv -fv '/etc/php8/fpm/php-fpm.d/www.conf' '/etc/php8/fpm/php-fpm.d/www.conf~'
  
 ===== Check Defaults ===== ===== Check Defaults =====
Line 125: Line 125:
  add_header 'X-Frame-Options' 'sameorigin' 'always';  add_header 'X-Frame-Options' 'sameorigin' 'always';
  add_header 'X-XSS-Protection' '1; mode=block' 'always';  add_header 'X-XSS-Protection' '1; mode=block' 'always';
- add_header 'Cache-Control' 'no-store, no-transform, public' 'always';+ add_header 'Cache-Control' 'max-age=604800, no-transform, public' 'always';
  add_header 'Referrer-Policy' 'same-origin' 'always';  add_header 'Referrer-Policy' 'same-origin' 'always';
  add_header 'Expect-CT' 'max-age=0' 'always';  add_header 'Expect-CT' 'max-age=0' 'always';
Line 201: Line 201:
  ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM';  ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM';
  ssl_prefer_server_ciphers 'on';  ssl_prefer_server_ciphers 'on';
- ssl_ecdh_curve 'secp384r1';+ ssl_ecdh_curve 'secp384r1:SecP384r1MLKEM1024:SecP256r1MLKEM768:X25519MLKEM768';
  
 # End</code> # End</code>
/srv/www/wiki/data/attic/servers/linux/nginx_php_php-fpm.1778372440.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki