servers:linux:nginx_php_php-fpm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:linux:nginx_php_php-fpm [2026/04/28 20:04] – [Headers] Sean Rhone | servers:linux:nginx_php_php-fpm [2026/07/10 20:53] (current) – [nginx] Sean Rhone | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| - | * [[linux: | + | * [[linux: |
| ====== Dependencies ====== | ====== Dependencies ====== | ||
| - | |||
| - | **** | ||
| sudo zypper install git-core nginx php8-cli php8-fpm | sudo zypper install git-core nginx php8-cli php8-fpm | ||
| Line 34: | Line 32: | ||
| sudo systemctl stop ' | sudo systemctl stop ' | ||
| - | |||
| - | ===== Start ===== | ||
| - | |||
| - | sudo systemctl start ' | ||
| - | |||
| - | sudo systemctl start ' | ||
| ====== Disable Defaults ====== | ====== Disable Defaults ====== | ||
| Line 45: | Line 37: | ||
| ===== nginx ===== | ===== nginx ===== | ||
| - | **** | + | |
| - | + | ||
| - | | + | |
| ===== PHP-FPM ===== | ===== PHP-FPM ===== | ||
| - | **** | + | |
| - | + | ||
| - | | + | |
| ===== Check Defaults ===== | ===== Check Defaults ===== | ||
| ==== nginx ==== | ==== nginx ==== | ||
| - | |||
| - | **** | ||
| nano '/ | nano '/ | ||
| Line 82: | Line 68: | ||
| ===== Folders ===== | ===== Folders ===== | ||
| - | |||
| - | **** | ||
| sudo mkdir -p '/ | sudo mkdir -p '/ | ||
| Line 149: | Line 133: | ||
| #error_log '/ | #error_log '/ | ||
| + | error_log '/ | ||
| http { | http { | ||
| - | |||
| - | # Logging | ||
| # | # | ||
| # | # | ||
| - | |||
| | | ||
| - | # Includes | ||
| | | ||
| | | ||
| Line 164: | Line 145: | ||
| | | ||
| - | # Config | ||
| | | ||
| | | ||
| Line 171: | Line 151: | ||
| | | ||
| - | # gzip | ||
| gzip ' | gzip ' | ||
| | | ||
| Line 185: | Line 164: | ||
| * The empty CSP allows all and can be useful for new site bring-ups, and should be placed in site-specific configs underneath the '' | * The empty CSP allows all and can be useful for new site bring-ups, and should be placed in site-specific configs underneath the '' | ||
| - | < | + | < |
| - | < | + | < |
| ====== SSL Certs ====== | ====== SSL Certs ====== | ||
| Line 210: | Line 189: | ||
| ssl_ciphers ' | ssl_ciphers ' | ||
| ssl_prefer_server_ciphers ' | ssl_prefer_server_ciphers ' | ||
| - | ssl_ecdh_curve ' | + | ssl_ecdh_curve ' |
| # End</ | # End</ | ||
| Line 235: | Line 214: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| - | * [[https:// | ||
| * https:// | * https:// | ||
/usr/local/www/wiki/data/attic/servers/linux/nginx_php_php-fpm.1777421046.txt.gz · Last modified: by Sean Rhone
