Commit ea047c57d5977072e1d4d99a313f99a5bcb3a2ec

Authored by opi
1 parent d1bafeea15
Exists in master

Include SSOWAT user panel.

Showing 1 changed file with 3 additions and 0 deletions Inline Diff

1 location PATHTOCHANGE { 1 location PATHTOCHANGE {
2 alias ALIASTOCHANGE; 2 alias ALIASTOCHANGE;
3 if ($scheme = http) { 3 if ($scheme = http) {
4 rewrite ^ https://$server_name$request_uri? permanent; 4 rewrite ^ https://$server_name$request_uri? permanent;
5 } 5 }
6 client_max_body_size 10G; 6 client_max_body_size 10G;
7 index index.php; 7 index index.php;
8 try_files $uri $uri/ /index.php; 8 try_files $uri $uri/ /index.php;
9 location ~ [^/]\.php(/|$) { 9 location ~ [^/]\.php(/|$) {
10 fastcgi_split_path_info ^(.+?\.php)(/.*)$; 10 fastcgi_split_path_info ^(.+?\.php)(/.*)$;
11 fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock; 11 fastcgi_pass unix:/var/run/php5-fpm-NAMETOCHANGE.sock;
12 include fastcgi_params; 12 include fastcgi_params;
13 fastcgi_param REMOTE_USER $remote_user; 13 fastcgi_param REMOTE_USER $remote_user;
14 fastcgi_param PATH_INFO $fastcgi_path_info; 14 fastcgi_param PATH_INFO $fastcgi_path_info;
15 fastcgi_param HTTPS on; 15 fastcgi_param HTTPS on;
16 } 16 }
17
18 # Include SSOWAT user panel.
19 include conf.d/yunohost_panel.conf.inc;
17 } 20 }
18 21
19 location ~ ^PATHTOCHANGE/(data|config|\.ht|db_structure\.xml|README) { 22 location ~ ^PATHTOCHANGE/(data|config|\.ht|db_structure\.xml|README) {
20 deny all; 23 deny all;
21 } 24 }
22 25
23 26