mirror of
https://github.com/suitenumerique/docs.git
synced 2026-10-01 05:55:16 +02:00
- Removed the versioning route from the default configuration to streamline the documentation structure. - Updated the service worker to eliminate references to the deprecated versioning fallback, enhancing the offline experience for users.
21 lines
292 B
Plaintext
21 lines
292 B
Plaintext
server {
|
|
listen 8080;
|
|
listen 3000;
|
|
server_name localhost;
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
location / {
|
|
try_files $uri index.html $uri/ =404;
|
|
}
|
|
|
|
location /docs/ {
|
|
error_page 404 /docs/[id]/;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
location = /404.html {
|
|
internal;
|
|
}
|
|
}
|