2024-07-24 14:51:03 +02:00
|
|
|
server {
|
2024-08-23 12:56:03 +02:00
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
2024-07-24 14:51:03 +02:00
|
|
|
location / {
|
2024-08-23 12:56:03 +02:00
|
|
|
root /usr/share/nginx/html;
|
2024-07-24 14:51:03 +02:00
|
|
|
|
2024-08-23 12:56:03 +02:00
|
|
|
rewrite ^/config.json$ /config.json break;
|
2024-07-24 14:51:03 +02:00
|
|
|
rewrite ^/manifest.json$ /manifest.json break;
|
|
|
|
|
|
|
|
rewrite ^.*/olm.wasm$ /olm.wasm break;
|
2024-09-07 15:45:55 +02:00
|
|
|
rewrite ^/sw.js$ /sw.js break;
|
2024-07-24 14:51:03 +02:00
|
|
|
rewrite ^/pdf.worker.min.js$ /pdf.worker.min.js break;
|
|
|
|
|
|
|
|
rewrite ^/public/(.*)$ /public/$1 break;
|
|
|
|
rewrite ^/assets/(.*)$ /assets/$1 break;
|
|
|
|
|
|
|
|
rewrite ^(.+)$ /index.html break;
|
2024-08-23 12:56:03 +02:00
|
|
|
}
|
|
|
|
}
|