nginx tmp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-06-13 12:21:21 +02:00
parent 1c6458abb6
commit 412caa24be
Signed by: paramah
GPG Key ID: C4340BA42B9C173A
3 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,10 @@ server {
server_name _;
root /var/www/;
client_max_body_size 256M;
client_body_temp_path /tmp 1 2;
location / {
try_files $uri /index.php$is_args$args;
}

View File

@ -2,6 +2,9 @@ server {
server_name _;
root /var/www/public;
client_max_body_size 256M;
client_body_temp_path /tmp 1 2;
location / {
# try to serve file directly, fallback to index.php
try_files $uri /index.php$is_args$args;

View File

@ -1,6 +1,9 @@
server {
client_max_body_size 108M;
client_max_body_size 256M;
client_body_temp_path /tmp 1 2;
root /var/www/web;
rewrite ^/app\.php/?(.*)$ /$1 permanent;