19 lines
493 B
Plaintext
19 lines
493 B
Plaintext
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name report.libraryofcode.org;
|
|
|
|
ssl_certificate /etc/nginx/ssl/org.chain.crt;
|
|
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
|
|
|
|
root /var/www/report;
|
|
index public/index.html;
|
|
|
|
location /assets {
|
|
alias /var/www/report/assets/;
|
|
#root /var/www/report/assets;
|
|
#try_files /var/www/report/assets/$uri /var/www/report/assets/$uri/ =404;
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|