Skip to content
  • How to start learning Linux
  • Labtech Implementation Stuff
  • Clogged
  • Active Directory DNS Troubleshooting
  • Some Roulette  Strat from Reddit
  • Mystery steel processing and testing
  • Croissants and Rose Lychee Cream
  • Mac and Cheese
  • DFS Replication: Requirements and Configuration
  • Services.msc not opening in Windows 11/10
  • Microsoft AD LDAP (2008): Importing Your Certificate .pfx File into the AD DS Personal Store
  • Powershell How to get all groups that a user is a member of?
  • Home Energy Saving Tips
  • Changing NTFS Security Permissions using PowerShell
  • VALORANT’S 128-TICK SERVERS

Merserver

Its a website

  • Uncategorized
  • IT
  • Unreal Engine
  • GameDev
  • Interesting Stuff
  • Food
  • Web Design
  • Kubernetes
  • Music
  • Linux
  • Toggle search form

FreePBX LetsEncrypt HTTPS Redirect Rule

Posted on January 8, 2021January 8, 2021 By samadmin

If the LetsEncrypt certificate fails to renew in the PBX and gives a weird error message try this.

SSH into the PBX and edit the .htaccess file located at

/var/www/html

In the .htaccess file set it toHTML

RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTPS} off
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} !^/.well-known
RewriteCond %{REQUEST_URI} !^/.freepbx-known
RewriteRule ^(.*)$ https:///%{{HTTP_HOST}}%{{REQUEST_URI}} [L,R=301]
Uncategorized

Post navigation

Previous Post: Fix: Word could not create the work file when Opening Word Documents
Next Post: Full hard drive on windows 10?

Related Posts

1 Uncategorized
Lenovo hangs on boot Uncategorized
How to export and import a User Profile in Dragon NaturallySpeaking Uncategorized
DYMO label install for eClinicalworks Uncategorized
Clearing Cookies etc. From Using CMD Uncategorized
How To Change The IP Of A Ingenico ICT220 Credit Card Terminal Uncategorized

Copyright © 2025 Merserver.

Powered by PressBook Masonry Dark