Skip to content
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

rp-docs. Add guide for setting up Nextcloud with FRP #5886

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xZinio
Copy link

@xZinio xZinio commented Jan 16, 2025

I added a guide with example configuration files on how to setup Nextcloud with FRP (https://github.com/fatedier/frp). I was previously struggling with this exact setup, but got it to work using the help of the community:

https://help.nextcloud.com/t/setup-nextcloud-with-frp-fast-reverse-proxy/214793

The person helping me mentioned at the end I should share my findings and the working config files.

Now, I would like to share the config files for FRPC and nginx that worked for me here alongside some explanations on how I set it up. I hope that this could be useful for others trying to achieve the same thing. Any suggestions on how to improve the configs or the explanations are very welcome!

I added a guide with example configuration files on how to setup Nextcloud with FRP (https://github.com/fatedier/frp). I was previously struggling with this exact setup, but got it to work using the help of the community:

https://help.nextcloud.com/t/setup-nextcloud-with-frp-fast-reverse-proxy/214793

Now, I would like to share the config files for FRPC and nginx that worked for me here alongside some explanations on how I set it up. I hope that this could be useful for others trying to achieve the same thing. Any suggestions on how to improve the configs or the explanations are very welcome!

Signed-off-by: Carlos <[email protected]>
@xZinio xZinio changed the title Added guide for setting up Nextcloud with FRP Add guide for setting up Nextcloud with FRP Jan 16, 2025
@szaimen
Copy link
Collaborator

szaimen commented Jan 16, 2025

Hi, thanks for your PR!

Unfortunately I am a bit confused why you need nginx in this chain? Isn't it possible to use FRP without using nginx in between FRP and AIO?

@szaimen szaimen added 2. developing Work in progress documentation Improvements or additions to documentation labels Jan 16, 2025
@szaimen szaimen marked this pull request as draft January 16, 2025 09:52
@szaimen szaimen changed the title Add guide for setting up Nextcloud with FRP rp-docs. Add guide for setting up Nextcloud with FRP Jan 16, 2025
@xZinio
Copy link
Author

xZinio commented Jan 16, 2025

I was actually thinking the same thing. I the beginning I would always set

localAddr = "127.0.0.1:11000"

as well as

localPort = 8080

for the AIO (or just the port the AIO was running on. However, with this configuration I would usually run into a 502 Bad Gateway issue in my browser. I'm also not the only since I found one other user having the exact same problem here.

Perhaps there is way to make it work without using nginx, but I was never able to figure out how. Maybe someone can adjust the guide in the future if someone ever figures it out. I just also found this way using nginx very useful since it was very easy to get my SSL certificates using certbot's nginx plugin this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants