1,088
edits
m (Jonny moved page Wiki/Nginx to Nginx) |
No edit summary |
||
Line 1: | Line 1: | ||
Up to: [[Part Of::Wiki]] | Up to: [[Part Of::Wiki]] | ||
== | == Mastodon == | ||
=== Switching Domains === | === Object Storage === | ||
[[Nginx/Object Storage]] | |||
== Wiki == | |||
=== Process === | |||
==== Switching Domains ==== | |||
from neuromatch.io to neuromatch social: | from neuromatch.io to neuromatch social: | ||
Line 15: | Line 23: | ||
that's probably a pretty janky way to do it, but basically the only thing that's different from just ctrl+f'ing the domain name is the need to issue a new cert, and to issue the cert you need to have just a server block listening on `80` and certbot can take it from there. then redirecting is just "hey did you try to go here actually go over there." There are other auth mechanisms certbot can do but that's the easiest way do use the default one that i know of | that's probably a pretty janky way to do it, but basically the only thing that's different from just ctrl+f'ing the domain name is the need to issue a new cert, and to issue the cert you need to have just a server block listening on `80` and certbot can take it from there. then redirecting is just "hey did you try to go here actually go over there." There are other auth mechanisms certbot can do but that's the easiest way do use the default one that i know of | ||
== Config == | === Config === | ||
<syntaxhighlight lang="nginx"> | <syntaxhighlight lang="nginx"> | ||
Line 122: | Line 130: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Log Rotation == | === Log Rotation === | ||
See [[Logging]] and [[Storage]] | See [[Logging]] and [[Storage]] |