servers:bsd:nginx:piwigo
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:bsd:nginx:piwigo [2025/05/16 20:40] – Sean Rhone | servers:bsd:nginx:piwigo [2025/05/16 21:55] (current) – [config.inc.php] Sean Rhone | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Piwigo ((https:// | * Piwigo ((https:// | ||
* Bootstrap Darkroom Theme ((https:// | * Bootstrap Darkroom Theme ((https:// | ||
- | * '' | ||
* [[Information: | * [[Information: | ||
* https:// | * https:// | ||
- | |||
- | * :!: WIP | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
Line 24: | Line 21: | ||
su - | su - | ||
- | pkg install git-lite php84-mysqli | + | pkg install git-lite php84-exif php84-gd php84-mysqli |
====== Download Source ====== | ====== Download Source ====== | ||
Line 31: | Line 28: | ||
* https:// | * https:// | ||
- | | + | |
+ | |||
+ | | ||
+ | |||
+ | | ||
====== Database ====== | ====== Database ====== | ||
Line 51: | Line 52: | ||
===== PHP-FPM Socket ===== | ===== PHP-FPM Socket ===== | ||
- | | + | |
+ | |||
+ | ee '/usr/local/ | ||
< | < | ||
Line 57: | Line 60: | ||
; User/Group | ; User/Group | ||
- | user = nginx | + | user = www |
- | group = nginx | + | group = www |
; Socket | ; Socket | ||
- | listen = / | + | listen = 127.0.0.1:9003 |
- | listen.acl_users = nginx | + | |
listen.allowed_clients = 127.0.0.1 | listen.allowed_clients = 127.0.0.1 | ||
Line 69: | Line 71: | ||
pm.max_children = 4 | pm.max_children = 4 | ||
pm.process_idle_timeout = 30 | pm.process_idle_timeout = 30 | ||
- | |||
- | ; Fedora php.ini Defaults | ||
- | php_value[session.save_handler] = " | ||
- | php_value[session.save_path] = "/ | ||
; General | ; General | ||
Line 86: | Line 84: | ||
===== FastCGI ===== | ===== FastCGI ===== | ||
- | | + | |
+ | |||
+ | ee '/usr/local/ | ||
< | < | ||
Line 97: | Line 97: | ||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | ||
fastcgi_param PATH_INFO $fastcgi_path_info; | fastcgi_param PATH_INFO $fastcgi_path_info; | ||
- | fastcgi_pass | + | |
- | }</ | + | |
+ | } | ||
+ | |||
+ | # End</ | ||
===== Server Block ===== | ===== Server Block ===== | ||
- | | + | |
- | | + | |
< | < | ||
server { | server { | ||
- | listen ' | + | listen ' |
+ | # | ||
server_name ' | server_name ' | ||
- | root '/var/ | + | root '/usr/local/ |
index ' | index ' | ||
- | include '/ | + | include '/usr/local/ |
- | include '/ | + | include '/usr/local/ |
# add_header Content-Security-Policy " | # add_header Content-Security-Policy " | ||
Line 132: | Line 136: | ||
} | } | ||
- | }</ | + | } |
+ | |||
+ | # End</ | ||
====== Initial Setup ====== | ====== Initial Setup ====== | ||
Line 172: | Line 178: | ||
// Minimal Logging | // Minimal Logging | ||
$conf[' | $conf[' | ||
+ | |||
+ | // Hide PHP Warnings | ||
+ | $conf[' | ||
// Header Links | // Header Links | ||
Line 177: | Line 186: | ||
' | ' | ||
' | ' | ||
- | ' | ||
' | ' | ||
- | ' | + | ' |
- | ' | + | ' |
); | ); | ||
Line 207: | Line 215: | ||
===== Etc ===== | ===== Etc ===== | ||
+ | |||
+ | ==== Media ==== | ||
su - | su - | ||
Line 217: | Line 227: | ||
su -m ' | su -m ' | ||
+ | |||
+ | ==== Theme ==== | ||
+ | |||
+ | su - | ||
su -m ' | su -m ' |
/usr/local/www/wiki/data/attic/servers/bsd/nginx/piwigo.1747442448.txt.gz · Last modified: by Sean Rhone