Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

244
Views
Routes from frontend shown as insecure in https website

I created a webpage using vue.js and on backend node.js. When I access the main page ( https://example.test ) I got secure info on my browser, but once I go to other links ( https://example.test/dashboard ) I got an insecure connection.

"devServer": {
    allowedHosts: ['example.test'],
    host: "0.0.0.0",
    port: 443,
    server : {
      type: "https",
      options: {
      key: fs.readFileSync('/usr/app/key.pem'),
      cert: fs.readFileSync('/usr/app/cert.pem')
    }},
    hot: true
  }

Is there any configuration that I'm missing in vue.config.js or I'm missing something in router/index.js?

Vue.use(VueRouter)

const routes = [
    {
        path: "/sign-in",
        name: "signIn",
        component: SignIn,
        meta: {
            requiresNotAuth: true
        }
    },
    {
        path: "/dashboard",
        name: "dashboard",
        component: Dashboard,
        meta: {
            requiresAuth: true
        }
    }
]

const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
})

UPDATE security in https://example.test: enter image description here

Security in https://example.test/dashboard: enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!