| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:bsd:nginx:custom:landing_page [2025/08/29 11:29] – Sean Rhone | servers:bsd:nginx:custom:landing_page [2025/10/30 23:48] (current) – [index.html] Sean Rhone |
|---|
| * TODO: https://gitlab.com/Espionage724/Linux/-/blob/master/Servers/nginx/Placeholders.txt?ref_type=heads | ====== Information ====== |
| |
| | * Landing page |
| | * [[Information:Realm of Espionage]] |
| | * https://realmofespionage.xyz |
| | |
| | ===== Prerequisites ===== |
| | |
| | * [[bsd:server:freebsd_15.0|FreeBSD 15.0]] |
| | * [[servers:bsd:freenginx_php_php-fpm|freenginx]] |
| | * [[servers:bsd:nginx:lets_encrypt|Let's Encrypt]] |
| | |
| | ====== index.html ====== |
| |
| su - | su - |
| mkdir -p '/usr/local/www/main-custom' && chown -R 'www':'www' '/usr/local/www/main-custom' | mkdir -p '/usr/local/www/main-custom' && chown -R 'www':'www' '/usr/local/www/main-custom' |
| |
| ee '/usr/local/www/main-custom/index.html' | su -m 'www' -c "ee '/usr/local/www/main-custom/index.html'" |
| |
| <code> | <code> |
| This is the home page of Realm of Espionage. | This is the home page of Realm of Espionage: |
| <br> | <br> |
| <br> | <br> |
| Some quick-reference links (links open in new window): | <a href = 'https://realmofespionage.xyz/'>Realm of Espionage</a> - Main page (you are here) |
| <br> | <br> |
| <br> | <br> |
| <a href = 'https://realmofespionage.xyz'>Realm of Espionage</a> - Main page (you are here) | <a href = 'https://wiki.realmofespionage.xyz/' target = 'blank'>RoE | Wiki</a> - Wiki |
| <br> | <br> |
| <a href = 'https://wiki.realmofespionage.xyz' target = 'blank'>RoE | Wiki</a> - Wiki | <a href = 'https://media.realmofespionage.xyz/' target = 'blank'>RoE | Media</a> - Pictures/Screenshots |
| <br> | <br> |
| <a href = 'https://media.realmofespionage.xyz' target = 'blank'>RoE | Media</a> - Pictures/Screenshots | <a href = 'https://blog.realmofespionage.xyz/' target = 'blank'>RoE | Blog</a> - Blog |
| <br> | <br> |
| <a href = 'https://blog.realmofespionage.xyz' target = 'blank'>RoE | Blog</a> - Blog | <a href = 'https://social.realmofespionage.xyz/profile/espionage724' target = 'blank'>RoE | Social</a> - Micro-blog (ActivityPub) |
| <br> | <br> |
| </code> | <a href = 'https://forums.realmofespionage.xyz/' target = 'blank'>RoE | Forums</a> - Forums |
| | <br> |
| | <br> |
| | <a href = 'https://wiki.realmofespionage.xyz/information:realm_of_espionage' target = 'blank'>Technical Details</a> |
| | <br> |
| | <a href = 'https://wiki.realmofespionage.xyz/user:espionage724' target = 'blank'>Webmaster Info</a> |
| | <br> |
| | <a href = 'https://wiki.realmofespionage.xyz/servers:bsd:nginx:custom:landing_page' target = 'blank'>How this webpage is configured</a> |
| | <br></code> |
| | |
| | ====== nginx Configuration ====== |
| | |
| | ===== Server Block ===== |
| |
| ee '/usr/local/etc/nginx/vhosts.d/main-custom.conf' && service 'nginx' reload | ee '/usr/local/etc/freenginx/vhosts.d/main-custom.conf' && service 'nginx' reload |
| |
| <code> | <code> |
| index 'index.html'; | index 'index.html'; |
| |
| include '/usr/local/etc/nginx/default.d/headers.conf'; | include '/usr/local/etc/freenginx/default.d/headers.conf'; |
| } | } |
| |
| # End</code> | # End</code> |
| |