Oliver-Loeffler / docbox

DocDrop: A platform to host and serve documentation artifacts from CI/CD processes.
Apache License 2.0
3 stars 0 forks source link

HTTPD: run Quarkus behind httpd reverse proxy #2

Closed Oliver-Loeffler closed 1 year ago

Oliver-Loeffler commented 1 year ago

The current setup having one part statically served behind port 80 and another one dynamically behind port 8080 is difficult to maintain and setup.

So its possibly better to run Quarkus behin httpd reverse proxy and only expose port 80 in Dockerfile. Hence no links anymore with ports numbers included.

This also would solve the problem with the port number in the meta forward in the index.php file.

Oliver-Loeffler commented 1 year ago

Quarkus now runs by default behind reverese proxy. This is achieved by running PrepareHttpd.java before starting the application inside Docker. This program modifies the HTTPD configuration accordingly.