-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextcloud container - allowed clients - only limit access in known use cases #3574
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would make blocking other ips useless, since it is very easy to connect over the gateway to a container
So do you have a better idea then how to fix #3540? |
No, but if we whitelist the gateway, we could also allow all ips.... |
805129a
to
3c2296c
Compare
3c2296c
to
a6b0e0e
Compare
5ab36ba
to
28e8257
Compare
…e cases Signed-off-by: Simon L <szaimen@e.mail.de>
28e8257
to
c5135e3
Compare
sed -i "/^listen.allowed_clients/s/,$//" /usr/local/etc/php-fpm.d/www.conf | ||
grep listen.allowed_clients /usr/local/etc/php-fpm.d/www.conf | ||
set -x | ||
if [ "$APACHE_PORT" = 443 ] || [ "$APACHE_IP_BINDING" = "127.0.0.1" ] || [ "$APACHE_IP_BINDING" = "::1" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Zoey2936 this is most important. I decided based on your comment to only limit it if AIO runs in normal mode or the reverse proxy runs in the host network of the server that runs AIO. For these recommended cases we limit the access. Does this make sense?
@Zoey2936 if you are fine with this PR, I would like to merge this and create a new beta release :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can try it
Fix #3540
This is best reviewed like this: https://github.com/nextcloud/all-in-one/pull/3574/files?w=1