2025-10-23 19:42:34 -07:00
|
|
|
pid /etc/nginx/tmp/nginx.pid;
|
2025-10-22 19:10:33 -07:00
|
|
|
|
2025-10-12 18:23:13 +05:30
|
|
|
events {
|
|
|
|
|
worker_connections 1024;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
http {
|
|
|
|
|
include /etc/nginx/mime.types;
|
2025-10-14 15:40:56 +05:30
|
|
|
types {
|
|
|
|
|
application/javascript mjs;
|
|
|
|
|
}
|
2025-10-12 18:23:13 +05:30
|
|
|
default_type application/octet-stream;
|
|
|
|
|
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
gzip_static on;
|
|
|
|
|
|
2025-10-12 18:23:13 +05:30
|
|
|
gzip on;
|
|
|
|
|
gzip_vary on;
|
|
|
|
|
gzip_min_length 1024;
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
gzip_comp_level 9;
|
|
|
|
|
gzip_types text/plain text/css text/xml text/javascript application/javascript application/xml+rss application/json application/wasm application/x-javascript text/x-component;
|
2025-10-12 18:23:13 +05:30
|
|
|
|
|
|
|
|
server {
|
2025-10-23 19:42:34 -07:00
|
|
|
listen 8080;
|
2025-11-19 10:52:58 +01:00
|
|
|
listen [::]:8080;
|
2025-10-12 18:23:13 +05:30
|
|
|
server_name localhost;
|
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
|
index index.html;
|
2026-02-02 19:38:04 +05:30
|
|
|
absolute_redirect off;
|
|
|
|
|
|
2026-02-21 14:44:09 +05:30
|
|
|
location ~ ^/(en|ar|be|da|de|es|fr|id|it|nl|pt|tr|vi|zh|zh-TW)(/.*)?$ {
|
|
|
|
|
try_files $uri $uri/ $uri.html /$1/index.html /index.html;
|
|
|
|
|
expires 5m;
|
|
|
|
|
add_header Cache-Control "public, must-revalidate";
|
|
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~ ^/(.+?)/(en|ar|be|da|de|es|fr|id|it|nl|pt|tr|vi|zh|zh-TW)(/.*)?$ {
|
|
|
|
|
try_files $uri $uri/ $uri.html /$1/$2/index.html /$1/index.html /index.html;
|
|
|
|
|
expires 5m;
|
|
|
|
|
add_header Cache-Control "public, must-revalidate";
|
|
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
|
|
|
|
}
|
2025-10-12 18:23:13 +05:30
|
|
|
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
location ~* \.html$ {
|
|
|
|
|
expires 1h;
|
|
|
|
|
add_header Cache-Control "public, must-revalidate";
|
2025-12-27 21:53:21 +05:30
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~* /libreoffice-wasm/soffice\.wasm\.gz$ {
|
|
|
|
|
gzip off;
|
|
|
|
|
types {} default_type application/wasm;
|
|
|
|
|
add_header Content-Encoding gzip;
|
|
|
|
|
add_header Vary "Accept-Encoding";
|
|
|
|
|
add_header Cache-Control "public, immutable";
|
|
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~* /libreoffice-wasm/soffice\.data\.gz$ {
|
|
|
|
|
gzip off;
|
|
|
|
|
types {} default_type application/octet-stream;
|
|
|
|
|
add_header Content-Encoding gzip;
|
|
|
|
|
add_header Vary "Accept-Encoding";
|
|
|
|
|
add_header Cache-Control "public, immutable";
|
|
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~* \.(wasm|wasm\.gz|data|data\.gz)$ {
|
|
|
|
|
expires 1y;
|
|
|
|
|
add_header Cache-Control "public, immutable";
|
2025-12-27 21:53:21 +05:30
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~* \.(js|mjs|css|woff|woff2|ttf|eot|otf)$ {
|
|
|
|
|
expires 1y;
|
|
|
|
|
add_header Cache-Control "public, immutable";
|
2025-12-27 21:53:21 +05:30
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
2025-10-12 18:23:13 +05:30
|
|
|
}
|
|
|
|
|
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
location ~* \.(png|jpg|jpeg|gif|ico|svg|webp|avif|mp4|webm)$ {
|
2025-10-12 18:23:13 +05:30
|
|
|
expires 1y;
|
|
|
|
|
add_header Cache-Control "public, immutable";
|
|
|
|
|
}
|
|
|
|
|
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
location ~* \.json$ {
|
|
|
|
|
expires 1w;
|
|
|
|
|
add_header Cache-Control "public, must-revalidate";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ~* \.pdf$ {
|
|
|
|
|
expires 1y;
|
|
|
|
|
add_header Cache-Control "public, immutable";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
try_files $uri $uri/ $uri.html /index.html;
|
|
|
|
|
expires 5m;
|
|
|
|
|
add_header Cache-Control "public, must-revalidate";
|
2025-12-27 21:53:21 +05:30
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
|
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
feat: Add VitePress docs, EPUB to PDF tool, Phosphor icons, and licensing updates
- Set up VitePress documentation site (docs:dev, docs:build, docs:preview)
- Added Getting Started, Tools Reference, Contributing, and Commercial License pages
- Created self-hosting guides for Docker, Vercel, Netlify, Cloudflare, AWS, Hostinger, Nginx, Apache
- Updated README with documentation link, sponsors section, and docs contribution guide
- Added EPUB to PDF converter using LibreOffice WASM
- Migrated to Phosphor Icons for consistent iconography
- Added donation ribbon banner on landing page
- Removed 'Like My Work?' section (replaced by ribbon)
- Updated licensing.html with delivery model, AGPL notice, invoicing, and no-refund policy
- Added Commercial License documentation page
- Updated translations table (Chinese added, marked non-English as In Progress)
- Added sponsors.yml workflow for auto-generating sponsor avatars
2025-12-27 19:30:31 +05:30
|
|
|
}
|
|
|
|
|
|
2025-10-12 18:23:13 +05:30
|
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
|
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
|
|
|
add_header X-XSS-Protection "1; mode=block" always;
|
2025-11-18 11:13:03 +05:30
|
|
|
add_header Cross-Origin-Opener-Policy "same-origin" always;
|
2026-01-04 00:56:06 +05:30
|
|
|
add_header Cross-Origin-Embedder-Policy "require-corp" always;
|
2025-11-18 20:31:13 +05:30
|
|
|
add_header Cross-Origin-Resource-Policy "cross-origin" always;
|
2025-10-12 18:23:13 +05:30
|
|
|
}
|
2025-11-19 10:52:58 +01:00
|
|
|
}
|