then it's a "date", not a "dateTime". "date" is without time
then you can ignore the time part
Anyone here using NGINX + PHP-FPM w/ SilverStripe in production? If so, what version of SS and what does your site config look like?
I ask because I found NGINX config documentation here: https://docs.silverstripe.org/en/5/getting_started/installation/how_to/configure_nginx/
However, it's probably outdated and there's some sparse, inconsistent or blank documentation surrounding NGINX + SS.
I remember years ago when nginx was new on the scene that the docs within were bascially a straight list of everything not to do in the nginx "common pitfalls" docs.
This was years ago, and I'd hope the docs would be better now knowledge is much greater around this server. But I'd still cross reference what's therein with your own knowledge, and the nginx docs :>
tl;dr - should be fine.
@Patrick Nelson I wrote much of the ngnix docs. What specific improvements would you like to see?
For it to be updated 🙂 Modernized for v4+, e.g. public directory, various security based exclusions, etc. Makes me wonder if it should (instead) be committed as some kind of boilerplate conf code and then LINKED TO in the docs, because the docs are outdated, inaccurate or missing.
I originally wrote up a MUCH LARGER description of the problems but deleted it since I didn't want to weigh down chat with all these problems
but e.g. when you google silverstripe nginx, one of the first results is I think a blank page
then if you manually nav to v5 docs
Looks like Ingo moved that doco to the forum. https://forum.silverstripe.org/t/nginx-webserver-configuration/2246
Moving this from http://docs.silverstripe.org|docs.silverstripe.org to a more community maintained location Nginx The prerequisite is that you have already installed Nginx and you are able to run PHP files via the FastCGI-wrapper from Nginx. Now you need to set up a virtual host in Nginx with configuration settings that are similar to those shown below. If you don't fully understand the configuration presented here, consult the nginx documentation. Especially be aware of accidental php-exe...Hide attachment content
clearly applies to v3
anyway, that's what I'm referring to.
Should probably 301 those doc pages, or better, LINK in those doc pages, to the appropriate URL.
The forum does have the public directory changes that I contributed.
I’d like to update it to include HTTPS.
So this is something someone at SS needs to clean up, I think.
oh, yeah I think that's derived from the one I warned about that came into being when nginx was new, and ran into every "newbie pitfall" listed on the "newbie pitfalls; do do these" nginx wiki page they used to have.
if memory serves, sorry don't have the time to look now, scrambling to get a dead device working for a video call meeting.
color me mad but, I definitely remember seeing a section under Server Requirements for csprng random number generators; it's no longer there, or has it been a really long dream?
The docs have recently been updated. Yeah decent csprng is still a requirement.
Although I think it's only used for user management... So if you're using the framework for something that doesn't involve anyone logging in you might be able to get rid of it! You should get exceptions thrown if there's no csprng though
If after going to log in you got a white page with
This form requires a POST submission, what would you think the issue is?
the data wasn't POSTed
That's quite a very simple response 🤣