Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Documentation
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Documentation
Commits
e809c500
Commit
e809c500
authored
6 months ago
by
dakkar
Browse files
Options
Downloads
Plain Diff
Merge branch 'Dalek-main-patch-76415' into 'main'
Update faqs.md See merge request
!29
parents
dca94f59
77c6996f
No related branches found
Branches containing commit
No related tags found
1 merge request
!29
Update faqs.md
Pipeline
#1110
passed with stages
in 1 minute and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/en/docs/install/faqs.md
+19
-6
19 additions, 6 deletions
content/en/docs/install/faqs.md
with
19 additions
and
6 deletions
content/en/docs/install/faqs.md
+
19
−
6
View file @
e809c500
...
...
@@ -79,15 +79,28 @@ enable "Keep original image" to bypass the compression.
You should also see an error in the browser console complaining about
an "insecure operation" or something like that. It's a CORS problem
with your instance's custom icon.
with your instance's custom icon. Essentially, this error is telling
you that the icon is not on the same domain as your instance. For
example, if your instance is at
`https://example.com/`
and your icon
is at
`https:/files.example.com/path/to/image.png`
There are a few ways to fix this issue.
The simplest fix is for your admin to upload the custom icon to their
drive, and use the drive URL for the uploaded file as the custom icon
URL.
Alternatively, the server that's hosting the icon must provide CORS
headers that tell browsers that the instance's domain is allowed to
use the icon.
[
MDN has some examples showing how to do
URL. But, if you have configured S3 storage on a subdomain, this will still
not fix the problem.
The next easiest fix is to use your instance to proxy the image, using
a URL like
`https://example.com/proxy/?url=https:/files.example.com/path/to/image.png`
(of course, replace the first
`example.com`
with your instance's host
name, and the value after
`?url=`
with the actual URL of the custom
icon)
The "correct" fix would be for the server that's hosting the icon to
provide CORS headers that tell browsers that the instance's domain is
allowed to use the icon.
[
MDN has some examples showing how to do
that
](
https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#web_server_configuration
)
.
## I've updated Sharkey, and all the icons are broken!
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment