skip to Main Content

Session id always changing for ASP.NET Core + Redis + nginx

The sample project https://github.com/xingyu217/Redis-nginx-aspnetcore-session nginx.config: upstream study_server{ server localhost:8011 weight=1; server localhost:8013 weight=1; #server localhost:8014 weight=1; #server 172.17.16.147:8012 weight=2; #server 172.17.16.147:8011 weight=2; } server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { #root html; #index…

VIEW QUESTION

Search Redis for keys with a backslash

In Redis I have keys like target:frame:xyz12345 and target:frame:xe3x82xa2xe3x82 I can do search for KEYS target:frame:* and get all the results but if I try KEYS target:frame:* I get no results. I have tried escaping with KEYS target:frame:\* but this…

VIEW QUESTION

Problem with Redisson Hibernate 2L cache config in Spring MVC

I am trying to configure Redisson Hibernate 2L cache in Spring MVC project. I had follow tutorials, although most of them is devoted to Spring Boot. I have added dependencies in pom.xml file: <dependency> <groupId>org.redisson</groupId> <artifactId>redisson</artifactId> <version>3.12.0</version> </dependency> <dependency> <groupId>org.redisson</groupId>…

VIEW QUESTION

Cannot restart redis-sentinel unit

I'm trying to configure 3 Redis instances and 6 sentinels (3 of them running on the Redises and the rest are on the different hosts). But when I install redis-sentinel package and put my configuration under /etc/redis/sentinel.conf and restart the…

VIEW QUESTION
Back To Top
Search