-
Notifications
You must be signed in to change notification settings - Fork 76
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
Adjusted nginx configuration based on the example from Nextcloud for Version 26 #258
Conversation
Thanks for the contribution @seikexyz! Could you please sign the commits with DCO as you can see needed for this repo? |
Sorry, this is my first PR here. What would the best way to do so? I tried to push a new commit (23469ab but it did not work. Or would it be best to close the request and open a new one, properly signed this time? |
Hello there! Thank you for your contribution. Regards. |
Hi @seikexyz! Thanks for your contribution! And regarding MR, I've got some comments. In general settings was based on this document: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx |
Changed X-Robot-Tag and added immutable cache control options. Signed-off-by: seikexyz <[email protected]>
Signed-off-by: seikexyz <[email protected]> Signed-off-by: Stefan <[email protected]> Signed-off-by: seikexyz <[email protected]>
23469ab
to
3ee8429
Compare
Hi @wiktor2200 & @aalaesar thank you for the hints on how to rebase the branch. It worked now! @wiktor2200 I can solve it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: seikexyz <[email protected]>
Except for some SSL configurations, which do not appear in the documentation, the rest of the template should now be more or less identical. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @seikexyz! It looks good, but I found some small typos. Please take a look on my comments.
SSL configs comes from Mozilla SSL best practices guide to get A+ mark in Nextcloud security scan: https://scan.nextcloud.com/ |
Co-authored-by: wiktor2200 <[email protected]> Signed-off-by: Stefan <[email protected]>
Co-authored-by: wiktor2200 <[email protected]> Signed-off-by: Stefan <[email protected]>
@wiktor2200 thanks for the feedback! All typos should hopefully be changed now. |
Signed-off-by: seikexyz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now. Thanks again for your contribution! :)
This updated nginx configuration should now be compatible with Nextcloud 26.
Closes #246