Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS Team
FUSS Remote Access
Commits
9cc5eba8
Verified
Commit
9cc5eba8
authored
Sep 17, 2019
by
Marco Marinello
Browse files
Automatically redirect on HTTPS
Signed-off-by:
Marco Marinello
<
me@marcomarinello.it
>
parent
6334ba96
Changes
2
Hide whitespace changes
Inline
Side-by-side
nextcloud-fuss/000-default.conf
0 → 100644
View file @
9cc5eba8
<
VirtualHost
*:
80
>
DocumentRoot
/
var
/
www
/
html
ErrorLog
${
APACHE_LOG_DIR
}/
error
.
log
CustomLog
${
APACHE_LOG_DIR
}/
access
.
log
combined
RewriteEngine
On
RewriteCond
%{
HTTPS
}
off
RewriteCond
%{
REQUEST_URI
} !^/?(.
well
-
known
)/
RewriteRule
^(.*)
https
://%{
HTTP_HOST
}%{
REQUEST_URI
}
</
VirtualHost
>
nextcloud-fuss/Dockerfile
View file @
9cc5eba8
...
...
@@ -16,6 +16,9 @@ COPY logo.png /var/www/images
COPY
logo.svg /var/www/images
COPY
configure-fuss.sh /
COPY
crontab /etc
COPY
000-default.conf /etc/apache2/sites-available
RUN
a2enmod rewrite
ENTRYPOINT
["/configure-fuss.sh"]
CMD
["apache2-foreground"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment