feat: add cdn raw data
This commit is contained in:
parent
876d6cab2f
commit
1e49620eb3
2 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /cdn_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /assets(.*) {
|
location ~ /assets(.*) {
|
||||||
|
|
|
@ -11,6 +11,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/certbot/data:/etc/letsencrypt
|
- /srv/certbot/data:/etc/letsencrypt
|
||||||
- /srv/certbot/other/www:/var/www/certbot
|
- /srv/certbot/other/www:/var/www/certbot
|
||||||
|
# random cdn data
|
||||||
|
- /usr/share/cdn:/cdn_data
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
|
Loading…
Reference in a new issue