Allow for reloading of config file #6

Open
opened 2025-06-02 12:59:50 +02:00 by Nova · 2 comments
Owner

Just like nginx allows reloads, this should too. Don't know how yet as PyWebServer doesn't run as a daemon so something like sudo nginx -s reload doesn't work. Will figure something out.

Just like nginx allows reloads, this should too. Don't know how yet as PyWebServer doesn't run as a daemon so something like `sudo nginx -s reload` doesn't work. Will figure something out.
Nova added reference main 2025-06-02 13:00:11 +02:00
Nova added the
Kind/Feature
Priority
Medium
labels 2025-06-02 13:00:30 +02:00
Author
Owner

Currently have implemented some insanely basic thingy using the URI (/?pywebsrv_reload_conf=1) which returns a HTTP 204 status code. Just gotta commit it now. Will improve on it though.

Currently have implemented some insanely basic thingy using the URI (`/?pywebsrv_reload_conf=1`) which returns a `HTTP 204` status code. Just gotta commit it now. Will improve on it though.
Nova self-assigned this 2025-06-16 13:45:29 +02:00
Author
Owner

I've improved the HTTP 204 status code to a HTTP 302 code which returns you to the URI /. Will improve later though.

I've improved the `HTTP 204` status code to a `HTTP 302` code which returns you to the URI `/`. Will improve later though.
Sign in to join this conversation.
No description provided.