Skip to content

Commit

Permalink
Merge pull request nextcloud#20966 from knox/master
Browse files Browse the repository at this point in the history
Do not rewrite letsencrypt .well-known URI
  • Loading branch information
DeepDiver1975 committed Jan 7, 2016
2 parents 6a796ff + 6397499 commit e307406
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]

# Rewrite rules for `front_controller_active`
Expand All @@ -60,6 +61,7 @@
RewriteCond %{REQUEST_FILENAME} !/status.php
RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule .* index.php [PT,E=PATH_INFO:$1]
</IfModule>
<IfModule mod_mime.c>
Expand Down

0 comments on commit e307406

Please sign in to comment.