Start adding virtual sites with nginx.

This commit is contained in:
jmsgrogan 2024-02-18 15:04:22 +00:00
parent 03778e9834
commit 4be5e93c9c
7 changed files with 68 additions and 29 deletions

9
nginx/vhost.d/default Normal file
View file

@ -0,0 +1,9 @@
location /static/ {
alias /staticfiles/;
add_header Access-Control-Allow-Origin *;
}
location /media/ {
alias /mediafiles/;
add_header Access-Control-Allow-Origin *;
}