This commit is contained in:
qiaofeng1227 2023-09-13 14:59:46 +08:00
parent 682c63b3cc
commit 964326a4eb
4 changed files with 1 additions and 39 deletions

View file

@ -8,7 +8,7 @@ server {
listen 80;
listen [::]:80;
server_name domain.com;
server_name ~^(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]\.[a-zA-Z]{2,})(?::\d+)?$;
access_log /data/logs/proxy-host-1_access.log proxy;
error_log /data/logs/proxy-host-1_error.log warn;

View file

@ -1,4 +0,0 @@
APP_VERSION=7.0.11
APP_DB_PORT=6379
APP_NAME=websoft9-redis
APP_NETWORK=websoft9

View file

@ -1,20 +0,0 @@
version: '3.8'
services:
appredis:
image: redis:${APP_VERSION}
container_name: ${APP_NAME}
restart: unless-stopped
env_file: .env
volumes:
- ./src/redis.conf:/etc/redis.conf:ro
- redis_data:/data
entrypoint: ["redis-server", "/etc/redis.conf"]
networks:
default:
name: ${APP_NETWORK}
external: true
volumes:
redis_data:

View file

@ -1,14 +0,0 @@
# redis'port is 6379
port 6379
# loglevel is notice
loglevel notice
# close protected-mode
#protected-mode no
# all ports can log in, default setting is 127.0.0.1
#bind 0.0.0.0
# set log in password
#requirepass 123456