Use X-Accel-Redirect in log.php output

This commit is contained in:
Daniel Winzen
2017-12-03 12:48:37 +01:00
parent 99ccbdccfe
commit a9fd1b658c
3 changed files with 11 additions and 8 deletions

View File

@ -2,13 +2,13 @@ server {
listen 80 default_server;
root /var/www/html;
index index.php;
server_name dhosting4okcs22v.onion;
server_name dhosting4okcs22v.onion *.dhosting4okcs22v.onion;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
}
}
location /squirrelmail {
location ~ \.php$ {
@ -33,4 +33,8 @@ server {
location /externals/jush/ {
root /usr/share/adminer;
}
location /nginx/ {
root /var/log/;
internal;
}
}