chore(nginx): move url rewrites to image Note any rewrite rules left running in reverse proxy will BREAK navigation on the website (oh no, my little indieweb web nest!)!! While here, update port we use for local dev.
shwarp
Wed, 04 Nov 2026 20:58:04 -0500
2 files changed,
5 insertions(+),
2 deletions(-)
M
Dockerfile
→
Dockerfile
@@ -4,6 +4,7 @@ WORKDIR /etc/nginx
COPY ./config/nginx.conf ./ COPY ./config/shwarp.ca ./ +COPY ./config/pages.redirects /etc/nginx/conf.d/ RUN mkdir html
M
config/shwarp.ca
→
config/shwarp.ca
@@ -1,6 +1,6 @@
server { - listen 3232; - listen [::]:3232; + listen 5656; + listen [::]:5656; ssi on;@@ -8,4 +8,6 @@ location / {
root /etc/nginx/html; index pages/home.html; } + + include conf.d/pages.redirects; }