meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
git:gitlab:pages [2020/04/09 13:26] – niziak | git:gitlab:pages [2020/06/03 11:17] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Pages ====== | ||
+ | |||
Support for domains and certificates is disabled. Ask your system' | Support for domains and certificates is disabled. Ask your system' | ||
Line 11: | Line 13: | ||
gitlab_pages[' | gitlab_pages[' | ||
gitlab_pages[' | gitlab_pages[' | ||
+ | pages_external_url " | ||
</ | </ | ||
+ | |||
+ | Apply changes: | ||
+ | <code bash> | ||
+ | gitlab-ctl reconfigure | ||
+ | gitlab-ctl restart | ||
+ | # or after minitor changes: | ||
+ | gitlab-ctl restart gitlab-pages | ||
+ | </ | ||
+ | |||
+ | Log tails: | ||
+ | <code bash> | ||
+ | |||
====== Enable artifact preview ====== | ====== Enable artifact preview ====== | ||
Line 19: | Line 34: | ||
< | < | ||
- | There is possibility to enable | + | There is possibility to enable |
* when enabled, there is possibility to preview artifact by redirecting it special link on Gitlab pages server | * when enabled, there is possibility to preview artifact by redirecting it special link on Gitlab pages server | ||
- | * on request | + | * on request |
+ | |||
+ | |||
+ | ===== Issues ===== | ||
+ | |||
+ | When '' | ||
+ | More about side effect of using '' | ||
+ | |||
+ | ===== No DNS resolution ===== | ||
+ | |||
+ | Provide '' | ||
+ | <code bash> | ||
+ | mkdir -p / | ||
+ | cp / | ||
+ | </ | ||
+ | NOTE: read side effects of this solution: [[https:// | ||
+ | |||
+ | Another solution is to force requests to IP address - check solution below [[git: | ||
+ | |||
+ | ===== SSL cert is not trusted ===== | ||
+ | |||
+ | Gitlab pages try to download artifact from main Gitlab server using main URL with https. | ||
+ | When main gitlab instance is servered with not trusted certificate, | ||
+ | Solution is to provide '' | ||
+ | <code bash> | ||
+ | mkdir -p / | ||
+ | cp / | ||
+ | cat / | ||
+ | </ | ||
+ | |||
+ | Another solution is to force requests to IP address - check solution below [[git: | ||
+ | |||
+ | ===== Provide URL to gitlab artifact server ===== | ||
+ | IT can only work if there is no redirect from '' | ||
+ | <file ruby | / | ||
+ | gitlab_pages[' | ||
+ | gitlab_pages[' | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== gitlabpages: | ||
+ | By default gitlab-pages shows only some files inside browser. Most of files (like .log) are server as '' | ||
+ | Accoring to Gitlab MR [[https:// | ||
+ | gitlab-pages daemon is now using embedded, compiled-in mime databse [[https:// | ||
+ | Digging inside gitlab-pages binary ''/ | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * ''/ | ||