17 lines
566 B
Plaintext
17 lines
566 B
Plaintext
|
#### PHP REDIS ADMIN SUBFOLDER ####
|
||
|
location /phpredisadmin {
|
||
|
alias /usr/share/webapps/phpRedisAdmin;
|
||
|
try_files $uri $uri/ @pra;
|
||
|
index index.php;
|
||
|
access_log /var/log/nginx/phpredisadmin_access.log;
|
||
|
error_log /var/log/nginx/phpredisadmin_error.log;
|
||
|
|
||
|
include /etc/nginx/extra/php-fpm.conf;
|
||
|
|
||
|
location ~ ^/phpredisadmin/(.*\.(js|css|gif|jpg|png|ico))$ {
|
||
|
alias /usr/share/webapps/phpRedisAdmin/$1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
location @pra { rewrite /phpredisadmin/(.*)$ /phpredisadmin$request_uri last; }
|