Commit 2c110bb521d0a5494bd3705509a71334dad3ffeb
Exists in
master
Merge pull request #25 from julienmalik/patch-3
Update nginx.conf
Showing 1 changed file Side-by-side Diff
conf/nginx.conf
... | ... | @@ -30,15 +30,14 @@ location PATHTOCHANGE { |
30 | 30 | fastcgi_param REMOTE_USER $remote_user; |
31 | 31 | fastcgi_param PATH_INFO $fastcgi_path_info; |
32 | 32 | fastcgi_param HTTPS on; |
33 | + fastcgi_param SCRIPT_FILENAME $request_filename; | |
33 | 34 | } |
34 | 35 | |
35 | 36 | # Include SSOWAT user panel. |
36 | 37 | sub_filter </head> '<script type="text/javascript" src="/ynhpanel.js"></script></head>'; |
37 | 38 | sub_filter_once on; |
38 | - | |
39 | - | |
40 | 39 | } |
41 | 40 | |
42 | 41 | location ~ ^PATHTOCHANGE/(data|config|\.ht|db_structure\.xml|README) { |
43 | -deny all; | |
42 | + deny all; | |
44 | 43 | } |