Using Apache as reverse proxy

Is there an Apache configuration file alternative for the NGINX reverse proxy ?

Hi @panchtatvam

We believe that nginx offers better performance for Taiga so we do not have official documentation on how to replace nginx with Apache, but it is possible to make this replacement. Apache has the necessary functionalities to be able to serve Taiga properly.

Sorry I can not be of more help.

Best regards

1 Like

Thank you for the information.
I will try to figure out a solution.

1 Like

Is is something I use for a site of mine.

<VirtualHost *:443>
ServerName mytaigapage.net
ServerAlias www.mytaigapage.net
  ServerAdmin webadmin@mydomain.net
  ErrorLog /var/log/apache2/proxiedhosts-ssl_error.log
  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn
  CustomLog /var/log/apache2/access-ssl.log combined
  ## ReWrite for WebSocket
  RewriteEngine On
  RewriteCond %{HTTP:Upgrade} =websocket [NC]
  RewriteRule /(.*)           ws://servername.domainname.net:9000/$1 [P,L]
  RewriteCond %{HTTP:Upgrade} !=websocket [NC]
  RewriteRule /(.*)           http://servername.domainname.net:9000/$1 [P,L]
# Use mod_proxy_html to rewrite URLs
  SetOutputFilter proxy-html
  ProxyHTMLURLMap http://servername.domainname.net:9000/ https://mytaigapage.net/
  ProxyPass / http://servername.domainname.net:9000/
  ProxyPassReverse / http://servername.domainname.net:9000/
  RequestHeader unset  Accept-Encoding
  SSLEngine on
  SSLProxyEngine On
  # LetsEncrypt certificate
  SSLCertificateFile   /etc/letsencrypt/live/mytaigapage.net/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/mytaigapage.net/privkey.pem
</VirtualHost>

1 Like

Thanks. But this didn’t work for me.