User Tools

Site Tools


iam_production_deployment_guide

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
iam_production_deployment_guide [2026/02/26 11:38] – [cPanel's userdata include] pradnyaiam_production_deployment_guide [2026/03/18 05:38] (current) – [cPanel's userdata include] pradnya
Line 481: Line 481:
 RewriteEngine On RewriteRule ^(.*)$ https://kcloak.ctapi.in$1 [R=301,L]<code> RewriteEngine On RewriteRule ^(.*)$ https://kcloak.ctapi.in$1 [R=301,L]<code>
  
-**Step 3: Create HTTPS proxy config**+</code>
  
-bash +**Step 3: Create HTTPS proxy config**
- +
-<code>nano /etc/apache2/conf.d/userdata/ssl/2_4/ctapi/kcloak.ctapi.in/proxy.conf+
  
 +bash <code>nano /etc/apache2/conf.d/userdata/ssl/2_4/ctapi/kcloak.ctapi.in/proxy.conf
 </code> </code>
  
Line 510: Line 509:
  
 </code> </code>
 +
 +Then test:
 +
 +bash
 +
 +<code>
 +curl -I https://kcloak.ctapi.in
 +
 +</code>
 +
 +Expected result:
 +
 +<code>
 +curl -I [[https://kcloak.ctapi.in/|https://kcloak.ctapi.in]]
 +
 +HTTP/1.1 302 Found Date: Thu, 26 Feb 2026 11:22:25 GMT
 +
 +Server: Apache
 +
 +Location: [[https://kcloak.ctapi.in/admin/|https://kcloak.ctapi.in/admin/]]
 +
 +Referrer-Policy: no-referrer
 +
 +Strict-Transport-Security: max-age=31536000; includeSubDomains
 +
 +X-Content-Type-Options: nosniff
 +
 +X-XSS-Protection: 1;
 +
 +mode=block
 +
 +</code>
 +
 +Check for **Location: [[https://kcloak.ctapi.in/admin/|https://kcloak.ctapi.in/admin/]]|[[https://kcloak.ctapi.in/admin/|https://kcloak.ctapi.in/admin/]]**
 +
 +This is poining to correct directory and not apache direcoty with cgi folder.
  
  
iam_production_deployment_guide.1772105933.txt.gz · Last modified: by pradnya