-
Notifications
You must be signed in to change notification settings - Fork 705
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
Reverse proxy documentation using nginx #315
Comments
Hey, feel free to investigate yourself how it could work behind nginx. I'll gladly add it to the reverse proxy documentation then. As a starting point simply translate the caddy reverse proxy config into nginx syntax and then follow the rest of the reverse proxy documentation. (of course you need to provide your own certificates in the config for nginx which is not necessary using caddy as reverse proxy) |
At the first glance, my Nginx config seems to work. I've startet the AIO container with the custom
|
Thanks @twwd ! Are you sure that the block below is really neded though? (Doesn't it work without?)
Or maybe aren't you able to enable websocket connections for the whole domain? This would eliminate the need to configure every endpoint manually |
My first config was without these parts and it didn't work. I'm not a Nginx pro, but I'm not aware of a method to combine all three blocks. |
Thanks! So I guess enabling websocket connections for the whole domain does not work? |
Regarding to SO, it might work. I'll try in the next days and give an update here. |
At the first glance, the combined config seems to work:
|
Nice! |
I'm sorry, I forgot to mention this part that must be declared in the
|
I used the
but no notifications in my android apps work |
Are you sure that this is not due to nextcloud/android#8684? See e.g.
|
@szaimen No, unfortunately it is not. I have taken other parameters. However, this has gone through trying. Unfortunately, I do not know what the individual values have for effects. But it worked as follows with the nginx-proxy docker from linuxserver/swag
Maybe someone who knows how to do this can optimize it |
I understand caddy is a better fit for this but since I already use nginx for all my other containers, I'd appreciate an nginx section in the reverse-proxy documentation, preferabbly with TLS offloading (you'll need to share the certs between the containers).
Cheers!
The text was updated successfully, but these errors were encountered: