rpi_nimbus

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
rpi_nimbus [2019/04/14 14:22] – [Activate gzip module] Júne Parkrpi_nimbus [2019/05/22 17:18] – [+Work logs] Júne Park
Line 55: Line 55:
 ==== +Work logs ====  ==== +Work logs ==== 
  
 +  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/05/23 01:57// </sub>
   * ''Renew SSL certificates'' (Let's Encrypt) done   <sub> --- Updated on //2019/03/13 20:08//</sub>   * ''Renew SSL certificates'' (Let's Encrypt) done   <sub> --- Updated on //2019/03/13 20:08//</sub>
   * ''configure'' access.log and error.log separately  <sub> --- Updated on //2018/09/20 11:12//</sub>   * ''configure'' access.log and error.log separately  <sub> --- Updated on //2018/09/20 11:12//</sub>
-  * ''create'' server block for {{fa>folder-open}} [ ''dav.meson.in'' ]  <sub> --- Updated on //2018/08/14 15:35//</sub> +  * {{fa>folder-open}} ''create'' server block for  [ ''dav.meson.in'' ]  <sub> --- Updated on //2018/08/14 15:35//</sub> 
   * ''Optimize'' Nginx configuration for **''Dokuwiki''** [[https://www.nginx.com/resources/wiki/start/topics/recipes/dokuwiki/|reference content]]   * ''Optimize'' Nginx configuration for **''Dokuwiki''** [[https://www.nginx.com/resources/wiki/start/topics/recipes/dokuwiki/|reference content]]
-  * ''create'' server block for {{fa>book}} [ ''lib.meson.one'' ] library project <sub>  --- Updated on //2018/04/11 18:22//</sub> +  * {{fa>book}} ''create'' server block for  [ ''lib.meson.one'' ] library project <sub>  --- Updated on //2018/04/11 18:22//</sub> 
   * Activate gzip module in Nginx <sub>  --- Updated on //2018/02/27 06:10//</sub>    * Activate gzip module in Nginx <sub>  --- Updated on //2018/02/27 06:10//</sub> 
   * Configured HTTP/2 for all sites <sub>  --- Updated on //2018/02/15 19:45//</sub>    * Configured HTTP/2 for all sites <sub>  --- Updated on //2018/02/15 19:45//</sub> 
Line 529: Line 530:
  
 ---- ----
-==== Exclude logging ====  
  
-Add ''map'' in Nginx configuration files,  
- 
-Exclude logging from specific IP  
-  
-<code nginx>  
-map $remote_addr $log_ip { 
-     
-    "127.0.0.1" 0; 
-    "10.0.0.2" 0; 
-    "10.0.0.3" 0; 
- 
-    default 1; 
- 
-} 
-</code> 
- 
-Exclude logging from specific User-Agent   
-  
-<code nginx>  
-map $http_user_agent $log_ua { 
- 
-    ~Pingdom 0; 
-    ~Googlebot 0; 
-    ~Baiduspider 0; 
- 
-    default 1; 
-} 
-</code> 
- 
----- 
 ==== Known Problems ====  ==== Known Problems ==== 
  
Line 572: Line 542:
 <text type="danger">{{fa>bug}} **Symptom**</text>: No symptom while running website. Only found in error log.  <text type="danger">{{fa>bug}} **Symptom**</text>: No symptom while running website. Only found in error log. 
  
-<text type="info">{{fa>lightbulb-o}} **Solution**</text>:  +<text type="info">{{fa>lightbulb-o}} **Solution**</text>:  [[https://www.digitalocean.com/community/questions/nginx-error-111-connection-refused|Solution #1]]
  
 ---- ----
Line 584: Line 554:
 <text type="danger">{{fa>bug}} **Symptom**</text>: No symptom while running website. Only found in error log.  <text type="danger">{{fa>bug}} **Symptom**</text>: No symptom while running website. Only found in error log. 
  
-<text type="info">{{fa>lightbulb-o}} **Solution**</text>:  +<text type="info">{{fa>lightbulb-o}} **Solution**</text>:  
 + 
  
  • rpi_nimbus
  • Last modified: 2024/05/11 15:37
  • by Júne Park