mirror of
https://github.com/YGGverse/mb.git
synced 2026-03-31 09:05:28 +00:00
add cache example
This commit is contained in:
parent
c7cb507315
commit
a2c658ae7b
1 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ server {
|
|||
listen 80;
|
||||
|
||||
location / {
|
||||
# expires 15m;
|
||||
# add_header Cache-Control "public, max-age=900";
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue