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

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:bsd:nginx:custom:landing_page [2025/08/29 11:26] 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 -   su -
Line 6: Line 17:
   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>
Line 15: Line 26:
 <br> <br>
 <br> <br>
-<a href = 'https://realmofespionage.xyz' target = 'blank'>Realm of Espionage</a> - Main page (you are here)+<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 <a href = 'https://wiki.realmofespionage.xyz' target = 'blank'>RoE | Wiki</a> - Wiki
Line 24: Line 35:
 <br> <br>
 </code> </code>
 +
 +====== nginx Configuration ======
 +
 +===== Server Block =====
  
   ee '/usr/local/etc/nginx/vhosts.d/main-custom.conf' && service 'nginx' reload   ee '/usr/local/etc/nginx/vhosts.d/main-custom.conf' && service 'nginx' reload
Line 36: Line 51:
  
     include '/usr/local/etc/nginx/default.d/headers.conf';     include '/usr/local/etc/nginx/default.d/headers.conf';
 +}
 +
 # End</code> # End</code>
  
/srv/www/wiki/data/attic/servers/bsd/nginx/custom/landing_page.1756481190.txt.gz · Last modified: by Sean Rhone