-
it's not my first time with Nextcloud but it's first time with nginx ...
I have to redirect nextcloud.domain.com (main login page) to nextcloud.domain.com/s/2342354252 ( a specific share)I used to edit .htaccess to poit at redir.html page (page who redirect to my specific link) but now i dont know ho to do that.
i tried "index directive" under specific nginx config file, but doesnt' work at all.
i try to open a specific file like nextcloud.domain.com/test.txt but it wont open.
im open to any advice. -
it's not my first time with Nextcloud but it's first time with nginx ...
I have to redirect nextcloud.domain.com (main login page) to nextcloud.domain.com/s/2342354252 ( a specific share)I used to edit .htaccess to poit at redir.html page (page who redirect to my specific link) but now i dont know ho to do that.
i tried "index directive" under specific nginx config file, but doesnt' work at all.
i try to open a specific file like nextcloud.domain.com/test.txt but it wont open.
im open to any advice.@enigma84 How about installing a surfer app on a separate domain and then edit the index.html of surfer to redirect your share? See https://forum.cloudron.io/topic/3739/how-to-create-an-app-tile-on-the-my-apps-dashboard-with-a-redirect/5 for what you need to put into index.html . Would that work?
-
@enigma84 How about installing a surfer app on a separate domain and then edit the index.html of surfer to redirect your share? See https://forum.cloudron.io/topic/3739/how-to-create-an-app-tile-on-the-my-apps-dashboard-with-a-redirect/5 for what you need to put into index.html . Would that work?
@girish
In my specific situation i don't want to expose default nextcloud login page.
Wherever i install nextcloud the default page for that domain will be login page.
nextcloud.mydomain.com -> login page
changing index directive for default page to open, i can open a page.
need some advice to find the right way to change this directive (this settings) only for that specific app (nextcloud subdomain).
If possible.This is what i mean for "index directive"
http://nginx.org/en/docs/http/ngx_http_index_module.htmlI need also to understand where are stored nextcloud html/php files to add a specific html file into the root
-
@girish
In my specific situation i don't want to expose default nextcloud login page.
Wherever i install nextcloud the default page for that domain will be login page.
nextcloud.mydomain.com -> login page
changing index directive for default page to open, i can open a page.
need some advice to find the right way to change this directive (this settings) only for that specific app (nextcloud subdomain).
If possible.This is what i mean for "index directive"
http://nginx.org/en/docs/http/ngx_http_index_module.htmlI need also to understand where are stored nextcloud html/php files to add a specific html file into the root
-
@girish
yes! i have
/home/yellowtent/appsdata/c82d.(.................)02a1/data/ a file .htaccess but (if I'm not mistaken) nginx dont use .htaccess at all.@enigma84 inside of the app apache is serving the pages, see https://git.cloudron.io/cloudron/nextcloud-app/-/blob/master/start.sh#L190
@enigma84 said in Need a custom home page for an app.:
In my specific situation i don't want to expose default nextcloud login page.
What is the use case behind this?
-
@enigma84 inside of the app apache is serving the pages, see https://git.cloudron.io/cloudron/nextcloud-app/-/blob/master/start.sh#L190
@enigma84 said in Need a custom home page for an app.:
In my specific situation i don't want to expose default nextcloud login page.
What is the use case behind this?
@fbartels
I use nextcloud as b2b download area, most of the content are public catalogs, price list, tech documents etc. open to everyone. Costumer/Visitor can reach/type download.mydomain.com and open directly a specific sharing folder.For Agents, employee, trusted people, registred user i simply give direct link download.mydomain.com/login -
-
@fbartels
I use nextcloud as b2b download area, most of the content are public catalogs, price list, tech documents etc. open to everyone. Costumer/Visitor can reach/type download.mydomain.com and open directly a specific sharing folder.For Agents, employee, trusted people, registred user i simply give direct link download.mydomain.com/login -
@enigma84 Access the htaccess from the File Manager and not directly on the server. It's better/easier that way - https://docs.cloudron.io/apps/#file-manager
For nextcloud, you will (confusingly) see two files -
htaccessand.htaccess. Do not touch.htaccesssince it is for protecting the data directory (/app/data). You can try editinghtaccess.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login