User Tools

Site Tools


en:user_advanced:gs3_https

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user_advanced:gs3_https [2025/02/13 00:52] – [Linux: Getting SSL certificates using certbot] kjdonen:user_advanced:gs3_https [2025/02/13 01:02] (current) – [Using Apache to reverse proxy Tomcat] kjdon
Line 6: Line 6:
  
 ===== Using Apache to reverse proxy Tomcat ===== ===== Using Apache to reverse proxy Tomcat =====
 +
 +Install and setup Apache with certbot SSL certificates. Then in the le-ssl.conf file (eg /etc/httpd/sites-enabled/000-defualt-le-ssl.conf) add teh following into the <VirtualHost *:443> node:
 +
 +
 +       ProxyPass /greenstone3 http://localhost:8383/greenstone3
 +       ProxyPassReverse /greenstone3 http://localhost:8383/greenstone3
 +       <Location /greenstone3>
 +            ProxyPassReverseCookiePath /greenstone3 /greenstone3
 +       </Location>
 +
 +       ProxyPass /webswing-server/ http://localhost:8383/webswing-server/ upgrade=websocket
 +
 +       
 +In build.properties, you will need to set the revproxy settings:
 +        
 +    revproxy.protocol=https
 +    revproxy.domain=<DOMAIN>
 +    ##revproxy.opt_port=8080  - this can stay commented out if you don't want a port number to appear in the public URL 
 +    ##revproxy.context=/greenstone3  - this can stay commented out if you are using the same context as greenstone3.context
 +
 ===== Linux: Getting SSL certificates using certbot ===== ===== Linux: Getting SSL certificates using certbot =====
  
en/user_advanced/gs3_https.1739407959.txt.gz · Last modified: 2025/02/13 00:52 by kjdon