apache_ssl_update.conf 2.38 KB
<IfModule mod_ssl.c>
<VirtualHost *:443>
	ServerName sigemtest.yvaga.com.py
	ServerAdmin cbareiro@yvaga.com.py

        ProxyPass /api/portalciudadano/backend/ http://192.168.1.162:9003/api/sigemweb-portal-backend/ timeout=1200
        ProxyPassReverse /api/portalciudadano/backend/ http://192.168.1.162:9003/api/sigemweb-portal-backend/ timeout=1200
        ProxyPreserveHost On

        ProxyPass /portalciudadano/ http://192.168.1.162:9004/portalciudadano/ timeout=1200
        ProxyPassReverse /portalciudadano/ http://192.168.1.162:9004/portalciudadano/ timeout=1200
        ProxyPreserveHost On

	ProxyPass /sigemweb/ http://192.168.1.162:9002/sigemweb/ timeout=1200
	ProxyPassReverse /sigemweb/ http://192.168.1.162:9002/sigemweb/ timeout=1200
	ProxyPreserveHost On

	ProxyPass /api/ http://192.168.1.162:9001/api/ timeout=1200
	ProxyPassReverse /api/ http://192.168.1.162:9001/api/ timeout=1200
	ProxyPreserveHost On 

	ProxyPass /sigemweb http://192.168.1.162:9002/sigemweb/ timeout=1200
	ProxyPassReverse /sigemweb/ http://192.168.1.162:9002/sigemweb/ timeout=1200
	ProxyPreserveHost On 

    # --- INICIO BLOQUE GIS GEOSERVER (.123) ---
    # Rutas Web Frontend (Spring Boot en Puerto 8081)
	ProxyPass /mapas http://192.168.1.123:8081/mapas timeout=1200
	ProxyPassReverse /mapas http://192.168.1.123:8081/mapas timeout=1200
	ProxyPass /login http://192.168.1.123:8081/login timeout=1200
	ProxyPassReverse /login http://192.168.1.123:8081/login timeout=1200

    # Ruta Diferenciada de API GIS para no chocar con el /api/ de la .162 principal
	ProxyPass /gis-api/ http://192.168.1.123:8081/api/ timeout=1200
	ProxyPassReverse /gis-api/ http://192.168.1.123:8081/api/ timeout=1200

    # Ruta Nativa del Servidor espacial para consumo WMS Seguro por HTTPS
	ProxyPass /geoserver/ http://192.168.1.123:8080/geoserver/ timeout=1200
	ProxyPassReverse /geoserver/ http://192.168.1.123:8080/geoserver/ timeout=1200
    # --- FIN BLOQUE GIS ---

	ProxyPass / http://192.168.1.20/ timeout=1200
	ProxyPassReverse / http://192.168.1.20/ timeout=1200
	ProxyPreserveHost On

	ErrorLog /var/log/httpd/sigemtest-error.log
    SSLCertificateFile /etc/letsencrypt/live/sigemtest.yvaga.com.py/cert.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/sigemtest.yvaga.com.py/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
    SSLCertificateChainFile /etc/letsencrypt/live/sigemtest.yvaga.com.py/chain.pem
</VirtualHost>
</IfModule>
GitLab Appliance - Powered by TurnKey Linux