| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:linux:nginx:joomla [2026/11/16 21:29] – [Deny Directive] Sean Rhone | servers:linux:nginx:joomla [2026/11/18 12:53] (current) – [Server Block] Sean Rhone |
|---|
| server { | server { |
| listen '443' 'ssl'; | listen '443' 'ssl'; |
| http2 'on'; | http2 'off'; |
| server_name 'realmofespionage.xyz'; | server_name 'realmofespionage.xyz'; |
| root '/srv/www/main'; | root '/srv/www/main'; |
| ===== Installer Deny ===== | ===== Installer Deny ===== |
| |
| * Uncomment ''installation'' section | * Uncomment ''joomla-deny.conf'' include |
| * Do after initial setup | * Do after initial setup |
| |
| |
| * ''FBFAF9'' for **Body Background Colour** | * ''FBFAF9'' for **Body Background Colour** |
| |
| ==== Footer ==== | |
| |
| === Copyright === | |
| |
| * Last tested: 2024/02/01 on Joomla 5.1.0-dev, T3 Framework 3.2.0, and Purity III 2.1.0 | |
| |
| == Logo == | |
| |
| **** | |
| |
| wget -O '/tmp/cc-by-sa-40.png' 'https://licensebuttons.net/l/by-sa/4.0/80x15.png' && sudo mv '/tmp/cc-by-sa-40.png' '/srv/www/main/images/cc-by-sa-40.png' && sudo chown 'nginx':'nginx' '/srv/www/main/images/cc-by-sa-40.png' && sudo restorecon -F -I -R '/srv/www/main/images/cc-by-sa-40.png' && sync | |
| |
| == Text == | |
| |
| * Place text within the ''<section class="t3-copyright">'' section underneath the ''Bootstrap by Twitter'' and ''Font Awesome'' mentions | |
| * Remove ''Bootstrap by Twitter'' and ''Font Awesome'' mentions | |
| |
| sudo -e '/srv/www/main/templates/purity_iii/tpls/blocks/footer.php' && sudo chown 'nginx':'nginx' '/srv/www/main/templates/purity_iii/tpls/blocks/footer.php' | |
| |
| <code> | |
| <small> | |
| <img src="https://realmofespionage.xyz/images/cc-by-sa-40.png" width="80" height="15" /> All content and data available on Realm of Espionage is available under the <a href="https://creativecommons.org/licenses/by-sa/4.0" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International</a> license. | |
| </small></code> | |
| |
| ===== Articles ===== | ===== Articles ===== |
| |
| === Temp === | === Temp === |
| |
| **** | |
| |
| <code> | <code> |
| |
| ==== Site Meta Description ==== | ==== Site Meta Description ==== |
| |
| **** | |
| |
| <code> | <code> |
| |
| ==== Content Rights ==== | ==== Content Rights ==== |
| |
| **** | |
| |
| Creative Commons Attribution-ShareAlike 4.0 International | Creative Commons Attribution-ShareAlike 4.0 International |
| ExecStart='/usr/bin/git' -C '/srv/www/main' pull origin '7.0-dev' --rebase | ExecStart='/usr/bin/git' -C '/srv/www/main' pull origin '7.0-dev' --rebase |
| |
| ExecStart='/usr/bin/php' -c '/etc/php8/fpm/php-fpm.d/main.conf' '/usr/bin/composer' --working-dir='/srv/www/main' --no-cache install --no-interaction --no-dev --ignore-platform-req='ext-ldap' | ExecStart='/usr/bin/php' -c '/etc/php8/cli/main.ini' '/usr/bin/composer' --working-dir='/srv/www/main' --no-cache install --no-interaction --no-dev --ignore-platform-req='ext-ldap' |
| ExecStart='/usr/bin/npm' --prefix '/srv/www/main' ci --logs-max='0' | ExecStart='/usr/bin/node26' '/usr/lib64/node_modules/npm26/bin/npm-cli.js' --prefix '/srv/www/main' 'ci' --logs-max='0' |
| |
| ExecStartPost='/usr/bin/rm' -f '/srv/www/main/administrator/cache/autoload_psr4.php' | ExecStartPost='/usr/bin/rm' -f '/srv/www/main/administrator/cache/autoload_psr4.php' |
| === Service === | === Service === |
| |
| * [[linux:notes:ext4|ext4 NAS]] | * [[linux:notes:ext2_nas|ext2 NAS]] |
| |
| mkdir -p ~/'backups' && sudo -e '/etc/systemd/system/main-fb.service' && sudo sed -i 's/CHANGEME/'$USER'/g' '/etc/systemd/system/main-fb.service' | mkdir -p ~/'backups' && sudo -e '/etc/systemd/system/main-fb.service' && sudo sed -i 's/CHANGEME/'$USER'/g' '/etc/systemd/system/main-fb.service' |
| === Service === | === Service === |
| |
| * [[linux:notes:ext4|ext4 NAS]] | * [[linux:notes:ext2_nas|ext2 NAS]] |
| |
| mkdir -p ~/'backups' && sudo mkdir -p '/srv/lib/mysql/tmp' && sudo -e '/etc/systemd/system/main-db.service' && sudo sed -i 's/'CHANGEME'/'$USER'/g' '/etc/systemd/system/main-db.service' | mkdir -p ~/'backups' && sudo mkdir -p '/srv/lib/mysql/tmp' && sudo -e '/etc/systemd/system/main-db.service' && sudo sed -i 's/'CHANGEME'/'$USER'/g' '/etc/systemd/system/main-db.service' |