# renew_before_expiry = 30 days
version = 2.11.0
archive_dir = /etc/letsencrypt/archive/portal.atg-x.com
cert = /etc/letsencrypt/live/portal.atg-x.com/cert.pem
privkey = /etc/letsencrypt/live/portal.atg-x.com/privkey.pem
chain = /etc/letsencrypt/live/portal.atg-x.com/chain.pem
fullchain = /etc/letsencrypt/live/portal.atg-x.com/fullchain.pem
# Options used in the renewal process
[renewalparams]
account = 110dc02ffc01472ec4d0e1a5f483ce51
authenticator = webroot
webroot_path = /var/www/html,
server = https://acme-v02.api.letsencrypt.org/directory
key_type = ecdsa
[[webroot_map]]
/etc/httpd/conf.d/portal.atg-nexus.com.conf
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 120
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
KeepAlive Off
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
MaxKeepAliveRequests 100
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
KeepAliveTimeout 15
Listen *:80
<VirtualHost *:80>
ServerName atgcert
ServerAlias portal.atg-nexus.com
DocumentRoot /var/www/portal.atg-nexus.com/html/
ErrorLog /var/log/httpd/portal.atg-nexus.com_error.log
CustomLog /var/log/httpd/portal.atg-nexus.com.log combined
# Enable the rewrite engine for HTTPS redirection
RewriteEngine on
# Redirect all requests to HTTPS if they are for portal.atg-nexus.com
RewriteCond %{SERVER_NAME} =portal.atg-nexus.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,NE,R=permanent]
</VirtualHost>
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule headers_module modules/mod_headers.so
# Enable Reverse Proxy
ProxyPreserveHost On
# Removes the Origin header to avoid potential CORS restrictions.
RequestHeader unset Origin
ProxyPass /redmine http://192.168.1.20/redmine
ProxyPassReverse /redmine http://192.168.1.20/redmine
ProxyPass /eClaim http://192.168.1.38/eClaim
ProxyPassReverse /eClaim http://192.168.1.38/eClaim
ProxyPass /eLeave http://192.168.1.38/eLeave
ProxyPassReverse /eLeave http://192.168.1.38/eLeave
# For APEX Sales
ProxyPass /sales/login http://192.168.1.85:8089/ords/sales/r/sales/login
ProxyPassReverse /sales/login http://192.168.1.85:8089/ords/sales/r/sales/login
# For APEX Source Tracking File
ProxyPass /source-file-tracking/login http://192.168.1.85:8089/ords/sourcecode/r/source-file-tracking/login
ProxyPassReverse /source-file-tracking/login http://192.168.1.85:8089/ords/sourcecode/r/source-file-tracking/login
# For ORDS file
ProxyPass /ords http://192.168.1.85:8089/ords
ProxyPassReverse /ords http://192.168.1.85:8089/ords
# For Images
ProxyPass /i http://192.168.1.85:8089/i
ProxyPassReverse /i http://192.168.1.85:8089/i
# For APEX Opportunity Tracker
#ProxyPass /opportunity_tracker/login http://192.168.1.68:8080/ords/development/r/opportunity_tracker/login
#ProxyPassReverse /opportunity_tracker/login http://192.168.1.68:8080/ords/development/r/opportunity_tracker/login
#ProxyPass /ords http://192.168.1.68:8080/ords
#ProxyPassReverse /ords http://192.168.1.68:8080/ords
#ProxyPass /i http://192.168.1.68:8080/i
#ProxyPassReverse /i http://192.168.1.68:8080/i
#Include conf.d/opportunity_tracker.atg-nexus.com.conf