-
-
Notifications
You must be signed in to change notification settings - Fork 91
Update nginx config #37
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
Conversation
Resolves flarum/framework#955 #955
|
|
||
| ### Nginx | ||
|
|
||
| Add the following lines to your server's configuration block: |
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.
This line would be changed...
|
I'm not 100% sure about this. We would probably need some more explanation / details about which parts are needed when, and what they mean. |
|
Yep, we were discussing this in the meeting. I think the conclusion we came to was that we should add some comments next to the placeholder lines that need to be changed. And should we change the intro line to something like "Your nginx server configuration should look something like this:" ? |
|
I was thinking a few ways to do this
Eg |
|
I vote inline. IMO, a big problem with Nginx configs in the internet are mostly trying to copy some stuff together until it works, without knowing why or how to do it better. (Note, I don't exclude myself from that.) That probably also says about the power / usability of these configs... |
|
I think inline will not give us the opportunity to explain what it does sufficiently. I like the multi line solution better.. |
|
@kulga Can you adapt this accordingly? |
|
@kulga bump :) are you able to do this still? |
|
@kulga May I nudge you again? Otherwise, anybody else interested in taking this over? |
More commentary
|
I put some commentary in. Unfortunately, I'm shorter on time now. It may well be better to have someone that can dedicate more time to this complete this :) |
|
I don't know if we should have config for SSL in here. I feel like it's outside the scope of what we need to provide. Perhaps a link to a good page/guide would suffice. |
|
@tobscure Agreed. The more we provide, the more we need to keep up-to-date / in sync for the different server platforms. |
|
@franzliedke I think this can be closed actually. We've removed non-Flarum-specific config from the nginx.conf we distribute in flarum/flarum. It's the user's responsibility to do the rest of their config, we don't need to document it. |
Resolves flarum/framework#955
#955