Skip to content

Commit be9ba7b

Browse files
Merge pull request #1953 from aleksandrychev/ENT-11481
ENT-11481: Removed web server redirect from http to https
2 parents b4cedf6 + ac7b17c commit be9ba7b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

deps-packaging/apache/httpd.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@ SetHandler "proxy:fcgi://127.0.0.1:9000"
259259
<IfModule rewrite_module>
260260
RewriteEngine On
261261

262-
# Force https with redirection
263-
RewriteCond %{HTTPS} off
264-
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
265-
266262
# redirect from `index.php/path` to `/path`
267263
RewriteCond %{REQUEST_URI} !(.*)/api/(.*) [NC] #do not apply redirect to internal APIs for backward compatibility
268264
RewriteCond %{THE_REQUEST} /index\.php/(.+)\sHTTP [NC]

0 commit comments

Comments
 (0)