config.mts 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import { defineConfig, type DefaultTheme } from 'vitepress';
  2. // https://vitepress.dev/reference/site-config
  3. export default defineConfig({
  4. title: "Nginx Proxy Manager",
  5. description: "Expose your services easily and securely",
  6. head: [
  7. ["link", { rel: "icon", href: "/icon.png" }],
  8. ["meta", { name: "description", content: "Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt" }],
  9. ["meta", { property: "og:title", content: "Nginx Proxy Manager" }],
  10. ["meta", { property: "og:description", content: "Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt"}],
  11. ["meta", { property: "og:type", content: "website" }],
  12. ["meta", { property: "og:url", content: "https://nginxproxymanager.com/" }],
  13. ["meta", { property: "og:image", content: "https://nginxproxymanager.com/icon.png" }],
  14. ["meta", { name: "twitter:card", content: "summary"}],
  15. ["meta", { name: "twitter:title", content: "Nginx Proxy Manager"}],
  16. ["meta", { name: "twitter:description", content: "Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt"}],
  17. ["meta", { name: "twitter:image", content: "https://nginxproxymanager.com/icon.png"}],
  18. ["meta", { name: "twitter:alt", content: "Nginx Proxy Manager"}],
  19. // GA
  20. ['script', { async: 'true', src: 'https://www.googletagmanager.com/gtag/js?id=G-TXT8F5WY5B'}],
  21. ['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-TXT8F5WY5B');"],
  22. ],
  23. sitemap: {
  24. hostname: 'https://nginxproxymanager.com'
  25. },
  26. metaChunk: true,
  27. srcDir: './src',
  28. outDir: './dist',
  29. themeConfig: {
  30. // https://vitepress.dev/reference/default-theme-config
  31. logo: { src: '/logo.svg', width: 24, height: 24 },
  32. nav: [
  33. { text: 'Setup', link: '/setup/' },
  34. ],
  35. sidebar: [
  36. {
  37. items: [
  38. // { text: 'Home', link: '/' },
  39. { text: 'Guide', link: '/guide/' },
  40. { text: 'Screenshots', link: '/screenshots/' },
  41. { text: 'Setup Instructions', link: '/setup/' },
  42. { text: 'Advanced Configuration', link: '/advanced-config/' },
  43. { text: 'Upgrading', link: '/upgrading/' },
  44. { text: 'Frequently Asked Questions', link: '/faq/' },
  45. { text: 'Third Party', link: '/third-party/' },
  46. ]
  47. }
  48. ],
  49. socialLinks: [
  50. { icon: 'github', link: 'https://github.com/NginxProxyManager/nginx-proxy-manager' }
  51. ],
  52. search: {
  53. provider: 'local'
  54. },
  55. footer: {
  56. message: 'Released under the MIT License.',
  57. copyright: 'Copyright © 2016-present jc21.com'
  58. }
  59. }
  60. });