Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation request] Add apache2 configuration template in documentation #121

Open
InitialCrow opened this issue Nov 15, 2023 · 0 comments

Comments

@InitialCrow
Copy link

Hello
I installed taiga threw taiga-docker and all was good except for this web socket the nginx conf work perfectly, but my taiga is on an apache2 environment and I don't want to install nginx just for one soft.

So I use since 8 months now and after last update I feel taiga work slowly than usually.
In fact, I had trouble with websocket since beginin installation, taiga can't connect on the websocket SO after much research and test I make an apache2 configuration for who works perfect I suggest putting it on documentation below nginx setup in taiga-docker that its with ssl

<VirtualHost *:443>
        #set owner 
        ServerAdmin admin@domain.com
        ServerName domain.com #where taiga is accessible
        SSLEngine On # enable ssl
        
        #set certificate (lets encrypt here)
        SSLCertificateFile /etc/letsencrypt/live/project.initialcrow.com/cert.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/project.initialcrow.com/privkey.pem
        SSLCertificateChainFile /etc/letsencrypt/live/project.initialcrow.com/chain.pem
	
        #prepare proxy for websocket
	RewriteEngine on #enable url rewriting
  	RewriteCond %{HTTP:Upgrade} websocket [NC] #detect websocket header
  	RewriteCond %{HTTP:Connection} upgrade [NC]  #detect websocket header
  	RewriteRule /(.*) ws://localhost:9000/$1 [P,L] #rewrite for websocket (wss)

  	# Reverse Proxy configuration
  	ProxyPass / http://localhost:9000/
  	ProxyPassReverse / http://localhost:9000/    
    	
       # Logs and other configurations
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

Ty for your amazing projects if you need help for backup you can contact me.

@InitialCrow InitialCrow changed the title Add apache2 configuration template in documentation [FR] Add apache2 configuration template in documentation Nov 15, 2023
@InitialCrow InitialCrow changed the title Add apache2 configuration template in documentation [Documentation request] Add apache2 configuration template in documentation Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant