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 [2025/12/31 23:28] – [nginx] Sean Rhoneservers:linux:nginx_php_php-fpm [2026/04/19 15:10] (current) Sean Rhone
Line 81: Line 81:
   * ''vhosts.d'' contains enabled websites ((this folder needs created))   * ''vhosts.d'' contains enabled websites ((this folder needs created))
  
-===== Defaults ===== +===== Folders =====
- +
-==== Folders ====+
  
 **** ****
Line 116: Line 114:
 server { server {
  
- listen '443' 'ssl' 'default_server'; + listen '443' 'ssl' 'http2' 'default_server';
- http2 'on';+
  server_name '_';  server_name '_';
  
Line 146: Line 143:
 ===== nginx ===== ===== nginx =====
  
-  sudo -e '/etc/nginx/nginx.conf' && sudo nginx -t+  sudo -e '/etc/nginx/nginx.conf'
  
 <code> <code>
Line 161: Line 158:
  #log_format main '$time_local - $http_host - $remote_addr - $status "$request" $body_bytes_sent - $http_referer - "$http_user_agent"';  #log_format main '$time_local - $http_host - $remote_addr - $status "$request" $body_bytes_sent - $http_referer - "$http_user_agent"';
  #access_log '/var/log/nginx/access.log main';  #access_log '/var/log/nginx/access.log main';
 +
 + access_log '/dev/null';
  
  # Includes  # Includes
/var/www/wiki/data/attic/servers/linux/nginx_php_php-fpm.1767241712.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