vuejs / router

🚦 The official router for Vue.js
https://router.vuejs.org/
MIT License
3.95k stars 1.19k forks source link

Update history-mode.md nginx example #2348

Open el-j opened 2 months ago

el-j commented 2 months ago

as i was really struggling with the nginx example, because i deployed in a docker nginx-alpine image that doesn't need any config in development mode with hash-router, i changed the example to a full working server config example that works in a fresh nginx docker-image.

this now works copied inside the docker-container to: etc/nginx/conf.d/default.conf useing it togehter with a zitadel behind a traefik with stepca instance.

serving a vue3 app build with vite from a sub-path of the server. maybe others can spare a bit of time, as all these props are needed otherwise there will be an error inside the nginx and the zitadel redirect back to the vue3 app after authentication.

netlify[bot] commented 2 months ago

Deploy Preview for vue-router ready!

Name Link
Latest commit 5bfbbc967ed86ed868d1d086a3bf1fdf5db4a29d
Latest deploy log https://app.netlify.com/sites/vue-router/deploys/66d05ab99c9e74000810badd
Deploy Preview https://deploy-preview-2348--vue-router.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 95 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.