1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-11-24 18:33:06 +01:00
parent 40663b807a
commit 516b427915
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -13,8 +13,9 @@ location __PATH__/ {
if (!-f $request_filename) {
rewrite ^ __PATH__/index.php last;
}
rewrite ^__PATH__/index.php$ __PATH__/index.php/install redirect;
#rewrite ^__PATH__/index.php$ __PATH__/index.php/install redirect;
try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 50M;