Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • 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 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiaowu Zhang
  • slaposslapos
  • Repository

Switch branch/tag
  • slapos
  • software
  • caddy-frontend
  • instance.cfg.in
Find file BlameHistoryPermalink
  • Łukasz Nowak's avatar
    caddy-frontend: Validate slave's server-alias · c7ee2259
    Łukasz Nowak authored Aug 08, 2018 and Łukasz Nowak's avatar Łukasz Nowak committed Sep 06, 2018
    As slave requester is able to enter any string in server-alias validate it
    against being correct domain name and in case if validation fails reject that
    slave.
    
    Also use a trick to have access to global slave state, see
    https://fabianlee.org/2016/10/18/saltstack-setting-a-jinja2-variable-from-an-inner-block-scope/
    c7ee2259

Replace instance.cfg.in

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