File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1212configure ()
1313{
1414 [[ -f /.ncp-image ]] && return 0
15- [[ $ACTIVE == " no" ]] && local opt=Off proto=https || local opt=On proto=http
15+ [[ $ACTIVE == " no" ]] && local opt=Off proto=http || local opt=On proto=https
1616 sed -i " s|RewriteEngine .*|RewriteEngine $opt |" /etc/apache2/sites-available/000-default.conf
1717 ncc config:system:set overwriteprotocol --value=" ${proto} "
1818 apachectl -k graceful
Original file line number Diff line number Diff line change 11
2- [ v1.39.13] ( https://github.com/nextcloud/nextcloudpi/commit/6dbc76e ) (2021-09-23) ncp-web: make letsencrypt detection more robust
2+ [ v1.39.14] ( https://github.com/nextcloud/nextcloudpi/commit/077c3bc ) (2021-09-25) nc-https: only fix infinite redirects behind proxy
3+
4+ [ v1.39.13] ( https://github.com/nextcloud/nextcloudpi/commit/eef7b09 ) (2021-09-23) ncp-web: make letsencrypt detection more robust
35
46[ v1.39.12] ( https://github.com/nextcloud/nextcloudpi/commit/814569b ) (2021-09-22) fix junk in overwrite.cli.url because of Redis not being yet ready
57
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ install_app nc-restore
3131 </Directory>
3232</VirtualHost>
3333EOF
34+ apachectl -k graceful
35+
36+ # fix issue with reverse proxy infinite redirections
37+ run_app nc-httpsonly
3438
3539# docker images only
3640[[ -f /.docker-image ]] && {
You can’t perform that action at this time.
0 commit comments