User Tools

Site Tools


servers:bsd:nginx:custom:landing_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
servers:bsd:nginx:custom:landing_page [2025/08/28 22:16] – created Sean Rhoneservers:bsd:nginx:custom:landing_page [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
-  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_14.3|FreeBSD 14.3]] 
 +  * [[servers:bsd:nginx_php_php-fpm|nginx]] 
 +  * [[servers:bsd:nginx:lets_encrypt|Let's Encrypt]] 
 + 
 +====== index.html ====== 
 + 
 +  su - 
 + 
 +  mkdir -p '/usr/local/www/main-custom' && chown -R 'www':'www' '/usr/local/www/main-custom' 
 + 
 +  su -m 'www' -c "ee '/usr/local/www/main-custom/index.html'" 
 + 
 +<code> 
 +This is the home page of Realm of Espionage. 
 +<br> 
 +<br> 
 +Some quick-reference links (links open in new window): 
 +<br> 
 +<br> 
 +<a href 'https://realmofespionage.xyz'>Realm of Espionage</a> - Main page (you are here) 
 +<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> 
 +</code> 
 + 
 +====== nginx Configuration ====== 
 + 
 +===== Server Block ===== 
 + 
 +  ee '/usr/local/etc/nginx/vhosts.d/main-custom.conf' && service 'nginx' reload 
 + 
 +<code> 
 +server { 
 +    listen '443' 'ssl'; 
 +    http2 'on'; 
 +    server_name 'realmofespionage.xyz'; 
 +    root '/usr/local/www/main-custom'; 
 +    index 'index.html'; 
 + 
 +    include '/usr/local/etc/nginx/default.d/headers.conf'; 
 +
 + 
 +# End</code>
  
/srv/www/wiki/data/attic/servers/bsd/nginx/custom/landing_page.1756433787.txt.gz · Last modified: by Sean Rhone