16 lines
547 B
Plaintext
Executable File
16 lines
547 B
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /etc/letsencrypt/live/static.jean-cloud.net/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/static.jean-cloud.net/privkey.pem;
|
|
server_name static.oma-radio.fr www.static.oma-radio.fr static.jean-cloud.net www.static.jean-cloud.net;
|
|
root /data/static.jean-cloud.net/public/;
|
|
|
|
location / {
|
|
add_header 'Access-Control-Allow-Origin' '*';
|
|
add_header 'Access-Control-Allow-Methods' 'GET';
|
|
index index.html;
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|