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

nginx server support planned? #228

Closed
johnnydvc opened this issue May 4, 2016 · 9 comments
Closed

nginx server support planned? #228

johnnydvc opened this issue May 4, 2016 · 9 comments

Comments

@johnnydvc
Copy link

Any plans for supporting nginx in the near future?

@verymilan
Copy link

i dont get it. im already running nginx with oc notes o.O

@johnnydvc
Copy link
Author

johnnydvc commented May 4, 2016

Well, the requirements lists Apache webserver support.
Plus I'm having problems adding/editing notes and syncing with the ownCloud Notes android app.
So I figured that it has to be the server.
Now I remember I used to be running the notes app before the 9.0 upgrade without any problems on nginx.
What's your mobile notes app?
Maybe its the file permissions bug: https://github.com/owncloud/notes/issues/219
I'll see into that later.

@verymilan
Copy link

I am using owncloud-notes by stefan niedermann

@johnnydvc
Copy link
Author

No changes. I have tried the suggestions from the #219 issue. But moving the files didn't do the trick. Still the only thing the notes app shows is {{note.title|noteTitle}}. Still cannot add or edit any entries.
Any clues?

@kernins
Copy link

kernins commented May 9, 2016

The most likely cause here are wrong urls frontend tries to send requests to. In my OC 9.0.2 / Notes 2.0.1 setup it uses urls like /apps/notes/notes, however OC in general uses /someEntryPoint.php/some/route schema. And indeed my nginx wasn't configured to route such requests to php.

Simple tmp fix for users would be to add

location /apps/notes/
         {
            try_files $uri /index.php$uri;
         }

@johnnydvc
Copy link
Author

Issue closed.
I fixed the problem by replacing the notes app with the latest git version.
Thanks

@pierreozoux
Copy link

Thanks @kernins I had to use your trick.

Indeed nginx support would be a nice to have!

@Henni
Copy link
Contributor

Henni commented Aug 1, 2016

Nginx support isn't planned for now.

@Henni Henni closed this as completed Aug 1, 2016
@pierreozoux
Copy link

👍

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

5 participants