mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Fix upload limit in wordpress
This commit is contained in:
parent
62952302d3
commit
6271b64c37
2 changed files with 5 additions and 3 deletions
|
@ -4,11 +4,12 @@ location PATHTOCHANGE {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
index index.php;
|
||||
if (!-e $request_filename)
|
||||
if (!-e $request_filename)
|
||||
{
|
||||
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
|
||||
}
|
||||
location ~ [^/]\.php(/|$) {
|
||||
client_max_body_size 30m;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
location PATHTOCHANGE {
|
||||
alias ALIASTOCHANGE;
|
||||
index index.php;
|
||||
if (!-e $request_filename)
|
||||
if (!-e $request_filename)
|
||||
{
|
||||
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
|
||||
}
|
||||
client_max_body_size 30m;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
|
|
Loading…
Add table
Reference in a new issue