gbv / coli-conc-server

Home folder, setup, and configuration for the server hosting public coli-conc software.
0 stars 1 forks source link

Add custom 404 page #10

Closed stefandesu closed 1 week ago

stefandesu commented 1 month ago

Currently, we don't have a 404 page (it just shows an empty page, see for example https://coli-conc.gbv.de/test/). I added a 404 page under https://coli-conc.gbv.de/404/, but I have yet to figure out how to configure nginx-proxy to serve that page. I thought DEFAULT_ROOT would be the answer, but it doesn't seem to do what I expect.

stefandesu commented 1 week ago

Fixed by configuring http-proxy inside the Docker container to serve the 404 page.