Showing posts with label quasar. Show all posts
Showing posts with label quasar. Show all posts

Thursday, May 23, 2024

Quasar failed to proxy pass via https

When failed to proxy pass with https in Quasar framework, it is very likely that the target-host HTTPS are configured incorrectly.  As a workaround, you can modify the quasar.conf.js with secure:false as following:

        "/context/path1/": {
          target: "https://target-host/path1/",
          secure: false,
          changeOrigin: true,
          pathRewrite: {
            "^/context/path1/": "",
          },
        },


CSP on Apache

To add CSP to root if sort of funny. The following will NOT work for most cases !!     <LocationMatch "^/$">        Header s...