User Tools

Site Tools


servers:linux:nginx_php_php-fpm

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:linux:nginx_php_php-fpm [2026/11/18 12:58] – [HTTPS Redirect] Sean Rhoneservers:linux:nginx_php_php-fpm [2026/11/18 14:10] (current) – Sean Rhone
Line 93: Line 93:
  
   * This prevents unconfigured subdomains from loading assets from other sites ((if a site/URL doesn't exist, it'll 404))   * This prevents unconfigured subdomains from loading assets from other sites ((if a site/URL doesn't exist, it'll 404))
- +  * :?: 2026/11/18: [[https://xint.io/blog/nginx2root-remote-code-execution|nginx2root]] (''http2'')
-  * 2026/11/18: [[https://xint.io/blog/nginx2root-remote-code-execution|nginx2root]] (''http2'')+
  
   sudo -e '/etc/nginx/conf.d/non-existent.conf'   sudo -e '/etc/nginx/conf.d/non-existent.conf'
Line 203: Line 202:
  
   echo "export USE_ZEND_ALLOC='0'" | sudo tee '/etc/profile.d/php-tweaks.sh' > '/dev/null'   echo "export USE_ZEND_ALLOC='0'" | sudo tee '/etc/profile.d/php-tweaks.sh' > '/dev/null'
- 
-====== LAN HOSTS ====== 
- 
-  sudo cp -fv '/etc/hosts' '/etc/hosts~' 
- 
-  nano '/tmp/hosts-roe-lan' && chmod '0400' '/tmp/hosts-roe-lan' && cat '/tmp/hosts-roe-lan' | sudo tee -a '/etc/hosts' > '/dev/null' 
- 
-  sudo -e '/etc/hosts-roe-lan' && sudo chmod '0004' '/etc/hosts-roe-lan' && cat '/etc/hosts-roe-lan' | sudo tee -a '/etc/hosts' > '/dev/null' 
- 
-  sudo -e '/etc/hosts' 
- 
-<code> 
-# RoE (LAN) 
- 
-192.168.1.152 realmofespionage.xyz 
-192.168.1.152 wiki.realmofespionage.xyz 
-192.168.1.152 media.realmofespionage.xyz 
-192.168.1.152 blog.realmofespionage.xyz 
-192.168.1.152 social.realmofespionage.xyz 
-192.168.1.152 forums.realmofespionage.xyz 
-192.168.1.152 status.realmofespionage.xyz 
-192.168.1.152 files.realmofespionage.xyz 
-192.168.1.152 test.realmofespionage.xyz 
-192.168.1.152 chat.realmofespionage.xyz 
- 
-# End</code> 
- 
-  sudo systemctl restart 'NetworkManager' 
- 
-  cat '/etc/hosts' | grep -e 'Date:' -e 'RoE' 
  
 ====== TODOs ====== ====== TODOs ======
/srv/www/wiki/data/attic/servers/linux/nginx_php_php-fpm.1795024695.txt.gz · Last modified: by Sean Rhone