[x] Create an OPNsense Package for the os-caddy-plugin
[x] Make the caddy binary dependant on the os-caddy-plugin
[x] Make sure additions that arent under /usr/local/opnsense are installed too (for example /src/etc/rc.d/ - might have to be included into the caddy.pkg
[x] Sign the packets and make them available in the repository
[x] Test the installation from the repository
[x] #4
[x] There are some unexpected bugs with php happening somehow. I have to recheck all files and see if something is missing or something is not the latest version. - Fixed, was a debug statement I forgot that wrote a php error.
[x] Template isn't regenerated when pressing on apply - Fixed, I have expanded the ServiceController.php to include template regeneration on reload and start action.
[x] The script for caddy_control.py had execute errors - Fixed, there were stray { and } around the license header
[x] The general.volt apply button doesn't reload the page - Fixed, added a reload statement
[x] The acme and lock folders aren't created automatically when caddy starts with the path settings in the Caddyfile set - Created a setup.sh script and an rc.d action to install folders with the right permissions before caddy starts.
[x] #5
[x] #6
[x] Created a test reverse proxy entry, tested https acme, tested website served through caddy as reverse proxy
The Reverse Proxy only starts when port 80 is not in use. Additionally, port 443 should also be free. That means, the GUI "Redirect" rule has to be disabled, and the Admin Interface has to be changed to another port, like 8443 eg.
The Reverse Proxy only starts when port 80 is not in use. Additionally, port 443 should also be free. That means, the GUI "Redirect" rule has to be disabled, and the Admin Interface has to be changed to another port, like 8443 eg.