Skip to content

Commit

Permalink
avoid security warning in Nextcloud (#2647)
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Jun 18, 2024
1 parent a185a01 commit 99ab136
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lets-encrypt/activate-tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ then
cat << TLS_CREATE > "$tls_conf"
<VirtualHost *:80>
RewriteEngine On
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [END,NE,R=permanent]
RewriteRule ^(.*)$ https://%{HTTP_HOST}\$1 [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:443>
Expand Down
2 changes: 1 addition & 1 deletion nextcloud_install_production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ then
cat << TLS_CREATE > "$SITES_AVAILABLE/$TLS_CONF"
# <VirtualHost *:80>
# RewriteEngine On
# RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [END,NE,R=permanent]
# RewriteRule ^(.*)$ https://%{HTTP_HOST}\$1 [END,NE,R=permanent]
# </VirtualHost>
<VirtualHost *:443>
Expand Down

0 comments on commit 99ab136

Please sign in to comment.