Commit 0400c127995e49ff6aec1ef9d43cec5dab8ef241

Authored by lunarok
1 parent d75a41ea16
Exists in master

Update nginx.conf

Showing 1 changed file with 4 additions and 3 deletions Side-by-side Diff

... ... @@ -32,12 +32,13 @@ location PATHTOCHANGE {
32 32  
33 33  
34 34 location ~ [^/]\.php(/|$) {
35   - fastcgi_split_path_info ^(.+?\.php)(/.*)$;
36   - fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock;
  35 + fastcgi_split_path_info ^(.+\.php)(/.+)$;
37 36 include fastcgi_params;
38   - fastcgi_param REMOTE_USER $remote_user;
  37 + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
39 38 fastcgi_param PATH_INFO $fastcgi_path_info;
40 39 fastcgi_param HTTPS on;
  40 + fastcgi_param REMOTE_USER $remote_user;
  41 + fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock;
41 42 }
42 43  
43 44 # Include SSOWAT user panel.