Proper config for apache/httpd

Gitlab doesn't support using apache/httpd. They also use nginx in front if you are using omnibus. There might be reasons for not using nginx tho, example

  • company policy
  • modules you might want (which is packaged in your distro for apache but needs to be built in nginx), and so on (like mod_security).
  • existing load-balancers and knowledge in the organisation

There are example configs, but there are also many issues that need custom rewrite rules, like:

Most of these are "fixed" in some of the example configurations, but there are still some issues, like

Is there anyone that have an apache configuration that extends the examples fixes more of the issues?