GeneralConfig/nginx/subfolders/phpredisadmin.conf

17 lines
566 B
Plaintext
Raw Permalink Normal View History

2020-06-17 13:31:05 -03:00
#### 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; }