servers:linux:nginx:joomla
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:linux:nginx:joomla [2025/12/22 05:39] – Sean Rhone | servers:linux:nginx:joomla [2025/12/22 20:30] (current) – Sean Rhone | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| ===== Node.js ===== | ===== Node.js ===== | ||
| + | |||
| + | * '' | ||
| sudo su ' | sudo su ' | ||
| - | cd '/ | + | cd '/ |
| exit | exit | ||
| Line 116: | Line 118: | ||
| * [[https:// | * [[https:// | ||
| - | sudo -e '/ | + | sudo -e '/ |
| < | < | ||
| server { | server { | ||
| - | listen ' | ||
| - | http2 ' | ||
| - | server_name ' | ||
| - | root '/ | ||
| - | index ' | ||
| - | include | + | |
| - | | + | http2 ' |
| + | | ||
| + | root '/var/www/main'; | ||
| + | index 'index.php'; | ||
| - | client_max_body_size | + | |
| + | | ||
| - | # access_log | + | # access_log |
| - | # error_log | + | # error_log |
| - | | + | location |
| - | try_files $uri $uri/ / | + | try_files |
| - | } | + | } |
| - | | + | location |
| - | try_files $uri $uri/ / | + | try_files |
| - | } | + | } |
| - | | + | location |
| - | return 403; | + | return |
| - | error_page 403 / | + | error_page |
| - | } | + | } |
| - | | + | location |
| - | expires 1y; | + | expires |
| - | } | + | } |
| - | | + | location |
| - | expires 14d; | + | expires |
| - | } | + | } |
| } | } | ||
| # End</ | # End</ | ||
| + | |||
| + | sudo ln -s -f '/ | ||
| ====== Initial Setup ====== | ====== Initial Setup ====== | ||
| Line 204: | Line 207: | ||
| <img src=" | <img src=" | ||
| </ | </ | ||
| - | |||
| - | ==== Custom CSS ==== | ||
| - | |||
| - | * :!: This shrinks the footer height, and places it back at the bottom of the screen instead of floating half-way up the page when little content exists ([[https:// | ||
| - | * Also replaces ThemeMagic for Brand Primary Color, Footer Background, and Footer Text Color | ||
| - | |||
| - | * Last tested: 2024/02/01 on Joomla 5.1.0-dev, T3 Framework 3.2.0, and Purity III 2.1.0 | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | html, | ||
| - | |||
| - | body { | ||
| - | height: 100%; | ||
| - | } | ||
| - | |||
| - | a { | ||
| - | color: #3D8BFF; | ||
| - | } | ||
| - | |||
| - | a:hover { | ||
| - | color: #196BE4; | ||
| - | } | ||
| - | |||
| - | .t3-mainnav { | ||
| - | background-color: | ||
| - | } | ||
| - | |||
| - | .logo a { | ||
| - | background: none; | ||
| - | } | ||
| - | |||
| - | .logo a:hover { | ||
| - | background: #196BE4; | ||
| - | } | ||
| - | |||
| - | .t3-wrapper { | ||
| - | position: relative; | ||
| - | min-height: 100%; | ||
| - | } | ||
| - | |||
| - | .t3-footer { | ||
| - | position: absolute; | ||
| - | bottom: 0; | ||
| - | left: 0; | ||
| - | right: 0; | ||
| - | background-color: | ||
| - | color: #FFFFFF; | ||
| - | } | ||
| - | |||
| - | .t3-copyright { | ||
| - | padding-top: | ||
| - | padding-bottom: | ||
| - | }</ | ||
| ===== Articles ===== | ===== Articles ===== | ||
| Line 324: | Line 272: | ||
| * Menus -> Main Menu -> Home -> Link Type -> Display in Menu: No | * Menus -> Main Menu -> Home -> Link Type -> Display in Menu: No | ||
| * Menus -> Main Menu -> Home -> Page Display -> Show Page Heading: Hide | * Menus -> Main Menu -> Home -> Page Display -> Show Page Heading: Hide | ||
| + | |||
| + | ====== Scripts ====== | ||
| + | |||
| + | ===== Git Fix ===== | ||
| + | |||
| + | * :!: Set email for '' | ||
| + | |||
| + | sudo mkdir -p '/ | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | |||
| + | cd '/ | ||
| + | |||
| + | '/ | ||
| + | '/ | ||
| + | '/ | ||
| + | |||
| + | ######################################## | ||
| + | '/ | ||
| + | ######################################## | ||
| + | |||
| + | '/ | ||
| + | |||
| + | '/ | ||
| + | '/ | ||
| + | |||
| + | '/ | ||
| + | '/ | ||
| + | '/ | ||
| + | |||
| + | # End</ | ||
| + | |||
| + | sudo -u ' | ||
| ====== Services ====== | ====== Services ====== | ||
| Line 339: | Line 321: | ||
| Type=oneshot | Type=oneshot | ||
| - | WorkingDirectory=/ | + | WorkingDirectory=/ |
| - | Environment=" | + | Environment=" |
| ExecStart='/ | ExecStart='/ | ||
| Line 346: | Line 328: | ||
| ExecStart='/ | ExecStart='/ | ||
| - | ExecStart='/ | + | ExecStart='/ |
| + | ExecStartPost='/ | ||
| ExecStartPost='/ | ExecStartPost='/ | ||
/var/www/wiki/data/attic/servers/linux/nginx/joomla.1766399972.txt.gz · Last modified: by Sean Rhone
