| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:bsd:nginx:custom:landing_page [2025/10/30 23:23] – [index.html] Sean Rhone | servers:bsd:nginx:custom:landing_page [2026/03/19 20:27] (current) – [index.html] Sean Rhone |
|---|
| |
| * Landing page | * Landing page |
| * [[Information:Realm of Espionage]] | * [[information:realm_of_espionage|Realm of Espionage]] |
| * https://realmofespionage.xyz | * https://realmofespionage.xyz |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[bsd:server:freebsd_15.0|FreeBSD 15.0]] | * [[bsd:server:freebsd_16.0|FreeBSD 16.0]] |
| * [[servers:bsd:freenginx_php_php-fpm|freenginx]] | * [[servers:bsd:freenginx_php_php-fpm|freenginx]] |
| * [[servers:bsd:nginx:lets_encrypt|Let's Encrypt]] | * [[servers:bsd:nginx:lets_encrypt|Certbot (Let's Encrypt)]] |
| |
| ====== index.html ====== | ====== index.html ====== |
| |
| <code> | <code> |
| | <!DOCTYPE html> |
| | <html> |
| | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| | <title>Realm of Espionage</title> |
| | </head> |
| | <body> |
| This is the home page of Realm of Espionage: | This is the home page of Realm of Espionage: |
| | <br><br> |
| | <a href = 'https://realmofespionage.xyz'>Realm of Espionage</a> - Main page (you are here) |
| | <br><br> |
| | <a href = 'https://wiki.realmofespionage.xyz' target = 'blank'>RoE | Wiki</a> - Wiki |
| <br> | <br> |
| | <a href = 'https://media.realmofespionage.xyz' target = 'blank'>RoE | Media</a> - Pictures/Screenshots |
| <br> | <br> |
| <a href = 'https://realmofespionage.xyz/'>Realm of Espionage</a> - Main page (you are here) | <a href = 'https://blog.realmofespionage.xyz' target = 'blank'>RoE | Blog</a> - Blog |
| <br> | |
| <a href = 'https://wiki.realmofespionage.xyz/' target = 'blank'>RoE | Wiki</a> - Wiki | |
| <br> | |
| <a href = 'https://media.realmofespionage.xyz/' target = 'blank'>RoE | Media</a> - Pictures/Screenshots | |
| <br> | |
| <a href = 'https://blog.realmofespionage.xyz/' target = 'blank'>RoE | Blog</a> - Blog | |
| <br> | <br> |
| <a href = 'https://social.realmofespionage.xyz/profile/espionage724' target = 'blank'>RoE | Social</a> - Micro-blog (ActivityPub) | <a href = 'https://social.realmofespionage.xyz/profile/espionage724' target = 'blank'>RoE | Social</a> - Micro-blog (ActivityPub) |
| <br> | <br> |
| <a href = 'https://forums.realmofespionage.xyz/' target = 'blank'>RoE | Forums</a> - Forums | <a href = 'https://forums.realmofespionage.xyz' target = 'blank'>RoE | Forums</a> - Forums |
| <br> | <br><br> |
| | <a href = 'https://status.realmofespionage.xyz'>Status Page</a> |
| <br> | <br> |
| <a href = 'https://wiki.realmofespionage.xyz/information:realm_of_espionage' target = 'blank'>Technical Details</a> | <a href = 'https://wiki.realmofespionage.xyz/information:realm_of_espionage' target = 'blank'>Technical Details</a> |
| <br> | <br> |
| <a href = 'https://wiki.realmofespionage.xyz/servers:bsd:nginx:custom:landing_page' target = 'blank'>How this webpage is configured</a> | <a href = 'https://wiki.realmofespionage.xyz/servers:bsd:nginx:custom:landing_page' target = 'blank'>How this webpage is configured</a> |
| <br></code> | </body> |
| | </html> |
| | <!--End--></code> |
| |
| ====== nginx Configuration ====== | ====== nginx Configuration ====== |
| |
| ===== Server Block ===== | ===== Server Block ===== |
| | |
| | su - |
| |
| ee '/usr/local/etc/freenginx/vhosts.d/main-custom.conf' && service 'nginx' reload | ee '/usr/local/etc/freenginx/vhosts.d/main-custom.conf' && service 'nginx' reload |
| <code> | <code> |
| server { | server { |
| listen '443' 'ssl'; | listen '443' 'ssl'; |
| http2 'on'; | http2 'on'; |
| server_name 'realmofespionage.xyz'; | server_name 'realmofespionage.xyz'; |
| root '/usr/local/www/main-custom'; | root '/usr/local/www/main-custom'; |
| index 'index.html'; | index 'index.html'; |
| |
| include '/usr/local/etc/freenginx/default.d/headers.conf'; | include '/usr/local/etc/freenginx/default.d/headers.conf'; |
| } | } |
| |
| # End</code> | # End</code> |
| |