Hello.
I have a droplet on digital ocean running ubuntu 18. I've got fail2ban, ufw, nginx and php7.2-fpm (plus required modules) up and running.
I've seen these settings around - recommend for the php.ini file for statamic projects:
file_uploads = On
allow_url_fopen = On
memory_limit = 256M
cgi.fix_pathinfo = 0
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = America/Chicago
Feel free to weigh in on those settings..
If I was hosting multiple statamic sites on this single server, and I wanted one of them to have settings that differed from the above, how could I achieve that? Something like a project-level way to set php.ini settings?
I'm definitely out my depth on this, but is this where the
nginx.conf
(supplied by statamic) comes into play? Is it inside a server block(?) where I can also configure file uploads, max file size, memory limits for only the one project?
Thank you Statamic family, I will make a nice little write up about setting up Statamic on DO with php7.2 and nginx for any future comers.. Unfortunately not too much floating around, but I suppose it is a little out of scope.