feat: add cdn raw data

This commit is contained in:
Strix 2023-11-14 03:24:22 +01:00
parent 876d6cab2f
commit 1e49620eb3
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@ server {
} }
location / { location / {
root /usr/share/nginx/html; root /cdn_data;
} }
location ~ /assets(.*) { location ~ /assets(.*) {

View file

@ -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