## GitLab Pages pages: enabled: true access_control: false # The location where pages are stored (default: shared/pages). # path: shared/pages
host: pages.domain.name port: 80 # Set to 443 if you serve the pages with HTTPS https: false # Set to true if you serve the pages with HTTPS artifacts_server: false # Set to false if you want to disable online view of HTML artifacts external_http: ["127.0.0.1:8090"] secret_file: /home/git/gitlab/gitlab-pages-secret
HTTPS配置如下:
1 2 3 4 5 6 7 8 9 10 11 12
## GitLab Pages pages: enabled: true access_control: false # The location where pages are stored (default: shared/pages). # path: shared/pages
host: pages.domain.name port: 443 # Set to 443 if you serve the pages with HTTPS https: true # Set to true if you serve the pages with HTTPS artifacts_server: true # Set to false if you want to disable online view of HTML artifacts secret_file: /home/git/gitlab/gitlab-pages-secret