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
development:deploy:nginx [2021/07/06 09:47]
kalenpw
development:deploy:nginx [2021/07/06 09:48] (current)
kalenpw
Line 12: Line 12:
 ---- ----
 ===== Config ===== ===== Config =====
-===== Caching =====+** Caching **
 <code nginx> <code nginx>
 location /_assets { location /_assets {
Line 21: Line 21:
  
 ---- ----
-===== http2 =====+**http2** \\
 Only works with TLS and modern browsers (though 95%+ usage) Only works with TLS and modern browsers (though 95%+ usage)
 <code nginx> <code nginx>
Line 31: Line 31:
  
 ---- ----
-===== Reverse Proxy =====+**Reverse Proxy** \\
 Useful for services that run on abnormal ports, but you want to have clean urls to access them Useful for services that run on abnormal ports, but you want to have clean urls to access them
  
Line 44: Line 44:
 ---- ----
  
-===== Redirect all URLs to root =====+** Redirect all URLs to root** \\
 Used, for example, on kalen.pw so any non-found files are redirected to the homepage (as opposed to serving a 404) Used, for example, on kalen.pw so any non-found files are redirected to the homepage (as opposed to serving a 404)
 <code nginx> <code nginx>