Skip to content

Support serve browser platform locally over https #2282

@jgw96

Description

@jgw96

From @padgettrowell on May 15, 2017 13:13

Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x ] 3.x

I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:

Ionic does not currently support serving locally over https when targeting the browser platform.

Expected behavior:

Being able to serve an Ionic project locally over https allow for real world testing of applications targeting the browser platform. For example, testing CSP policies. For example, it's not possible to locally test the following policy:
Content-Security-Policy: upgrade-insecure-requests

Steps to reproduce:

In your index.html file, add the following element:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

All content fails to load.

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

insert the output from ionic info here

Copied from original issue: ionic-team/ionic-framework#11674

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions