Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • gitlab-ce
  • Repository

Switch branch/tag
  • gitlab-ce
  • config
  • webpack.config.js
Find file BlameHistoryPermalink
  • Stan Hu's avatar
    Support configuring HTTPS with Webpack dev server · 89f9a373
    Stan Hu authored Feb 17, 2022
    https://gitlab.com/gitlab-org/gitlab/-/merge_requests/80196 appears to
    have broken development users who have configured their GDKs to use
    HTTPS. Unless Webpack's `devServer.webSocketServer` is set to `false`,
    a Websocket connection attempts to connect to an HTTP
    endpoint. However, for security reasons browsers block mixed content
    (https://support.mozilla.org/en-US/kb/mixed-content-blocking-firefox).
    
    To fix this, we make it possible to enable and configure HTTPS via the
    following environment variables:
    
    * DEV_SERVER_TYPE
    * DEV_SERVER_SSL_KEY
    * DEV_SERVER_SSL_CERT
    
    Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/352648
    89f9a373

Replace webpack.config.js

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7