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

Set install location #1171

Closed
UMB8998 opened this issue Jul 3, 2020 · 3 comments
Closed

Set install location #1171

UMB8998 opened this issue Jul 3, 2020 · 3 comments

Comments

@UMB8998
Copy link

UMB8998 commented Jul 3, 2020

Hello
I have a server where there is a container with ngnix web server, which serves multiple php websites and I want to integrate nextcloud using the fpm image on the server, the problem is that the install defaults to the /var/www/html/ directory. There is any way that you guys implement a variable where we could set the install dir?
I guess that i could change the dockerfile and dockerentry.sh but it will be very hard to change it every time we get an update
Thank You
P.S. this is an amazing project

@doc75
Copy link
Contributor

doc75 commented Jul 12, 2020

@UMB8998 , not sure to understand the problem you are raising, so please forgive me if my answer is not relevant.
On my side, I am mounting the /var/www/html directory to a host directory and then my NGINX uses this same directory in read only. So for me there is no need for such a variable; But again I might be missing something.

Perhaps you should provide more information on how you launch your container and try to link it to NGINX so that we better understand your need.

@m00nwtchr
Copy link

m00nwtchr commented Jul 28, 2020

I if I'm reading this right, i have the same issue, I'm trying to host Nextcloud behind a reverse proxy w/ subfolder paths, and thus I need to change the base URL the app sits at, changing the OVERWRITEWEBROOT env var points NC at the new path, but doesn't actually make the app install to the specified directory, causing a redirect loop

EDIT: I think this is a duplicate of #401

@m00nwtchr
Copy link

m00nwtchr commented Jul 31, 2020

FYI i posted a solution to the aforementioned issue (# 401) @UMB8998

@UMB8998 UMB8998 closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants