klitchevo
Explore posts from serversUpdate php.ini when using Wordpress image
As title says, I need to update php.ini to these values:
RUN echo "upload_max_filesize = 128M" >> /usr/local/etc/php/php.ini
RUN echo "post_max_size = 128M" >> /usr/local/etc/php/php.ini
RUN echo "max_execution_time = 300" >> /usr/local/etc/php/php.ini
RUN echo "max_input_time = 300" >> /usr/local/etc/php/php.ini
How can I do this? I am using wordpress image, I do not have any code on local machine
6 replies
Nginx won't redirect to index.html
I have a react project that I am deploying to railway. When I access its root route, it works fine, but whenever I try to go to for example
/profile
and refresh page I get 404. Here is my nginx config
and here is my Dockerfile:
any ideas? Also is it worth exploring caddy for this use case maybe?20 replies