dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification : nginx root configurable.
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
agendav
/
site.conf
diff --git
a/etc/nginx/site.d/agendav/site.conf
b/etc/nginx/site.d/agendav/site.conf
index
144ed9c
..
21f3e8f
100644
(file)
--- a/
etc/nginx/site.d/agendav/site.conf
+++ b/
etc/nginx/site.d/agendav/site.conf
@@
-6,7
+6,7
@@
client_body_buffer_size 8k;
client_max_body_size 10m;
location / {
client_max_body_size 10m;
location / {
- root /home/www/
pub
/agendav/web/public/;
+ root /home/www/
data
/agendav/web/public/;
index index.html index.htm index.php;
}
location ~ /\. {
index index.html index.htm index.php;
}
location ~ /\. {
@@
-15,7
+15,7
@@
location ~ /\. {
log_not_found off;
}
location ~* ^.+\.php(|/.*)$ {
log_not_found off;
}
location ~* ^.+\.php(|/.*)$ {
- root /home/www/
pub
/agendav/web/public/;
+ root /home/www/
data
/agendav/web/public/;
include /etc/nginx/conf.d/fastcgi.conf;
set $no_cache "0";
if ($request_method !~ ^(GET|HEAD)$) {
include /etc/nginx/conf.d/fastcgi.conf;
set $no_cache "0";
if ($request_method !~ ^(GET|HEAD)$) {
@@
-50,7
+50,7
@@
location ~* ^.+\.php(|/.*)$ {
fastcgi_pass unix:/run/php5/fpm/agendav;
}
location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
fastcgi_pass unix:/run/php5/fpm/agendav;
}
location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
- root /home/www/
pub
/agendav/web/public/;
+ root /home/www/
data
/agendav/web/public/;
access_log off;
expires 30d;
log_not_found off;
access_log off;
expires 30d;
log_not_found off;