Skip to content

Commit

Permalink
chore: separate ssl rr config
Browse files Browse the repository at this point in the history
  • Loading branch information
amvid committed Apr 15, 2024
1 parent 9730156 commit 99d802a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .rr.ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ http:
pool:
debug: false
num_workers: ${RR_NUM_WORKERS:-3}
max_jobs: ${RR_WORKER_MAX_JOBS:-100}
supervisor:
max_worker_memory: ${RR_WORKER_MAX_MEMORY:-75}
middleware: [ "static", "gzip" ]
middleware: ["static", "gzip"]
static:
dir: "public"
forbid: [ ".php" ]
forbid: [".php"]
ssl:
address: 0.0.0.0:443
redirect: true
Expand Down
5 changes: 2 additions & 3 deletions .rr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ http:
pool:
debug: false
num_workers: ${RR_NUM_WORKERS:-3}
max_jobs: ${RR_WORKER_MAX_JOBS:-100}
supervisor:
max_worker_memory: ${RR_WORKER_MAX_MEMORY:-75}
middleware: [ "static", "gzip" ]
middleware: ["static", "gzip"]
static:
dir: "public"
forbid: [ ".php" ]
forbid: [".php"]

logs:
mode: production
Expand Down

0 comments on commit 99d802a

Please sign in to comment.