Skip to content

Commit 3e445d4

Browse files
committed
Update nginx config
1 parent 6d5caea commit 3e445d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx/www_app_nginx_domain.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ server {
4747
try_files $uri =404;
4848
fastcgi_pass unix:/var/run/php-fpm.sock;
4949
fastcgi_index index.php;
50-
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
50+
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
5151
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
52+
fastcgi_param DOCUMENT_ROOT $realpath_root;
5253

5354
fastcgi_buffer_size 128k;
5455
fastcgi_buffers 256 16k;

0 commit comments

Comments
 (0)