I attempted to post this through the Google Groups web interface but it
seems to have failed.  My apologies if it later arrives as a duplicate
reply.

Configuring a reverse proxy can be complicated.  Icons that fail to load is
one of the indications of the complications.

One of the Jenkins Hackfest contributors combined efforts with a reverse
proxy expert and submitted pull request 3386
<https://github.com/jenkins-infra/jenkins.io/pull/3386> to describe various
scenarios in reverse proxy configuration.  It would be much appreciated if
you would review the current proposal
<https://github.com/jenkins-infra/jenkins.io/blob/d958f2b911e990e042a1d2f447b537d21572c6c7/content/doc/book/system-administration/reverse-proxy-configuration-with-jenkins.adoc>
to see if it helps in your case.  If it helps, that is great.  If it does
not help, please add comments to the pull request based on what you learn
during your investigation.

Thanks,
Mark Waite

On Wed, Jul 8, 2020 at 6:59 AM Vishnu V Potti <vishnuvpo...@gmail.com>
wrote:

> Hi All,
>
>  I have a Jenkins accessed via Netscaler endpoint.
> https://company.internal.com/jenkins.
>  Earlier I used to access via host:8080 format. i.e http://host:8080/jenkins 
> and
> everything was working.    It still works fine when accessed like that.
>
> At Netscaler side, we set "x-forwarded-proto" = https header and http to
> https redirection. Functionality wise works ok. Now I am seeing issues
> where the login screen logo wont load and some plugin icons wont load.
>
> *Images below.*
>
> https://imgur.com/sRPjD4D
>
>
> I debugged as seen below. I navigated to the url which was formed. The
> image doesn't exist in that location. But if I access via the host then it
> can be accessed. The two urls are below.
>
> `
> https://company.internal.com/jenkins/static/e0c7cecc/plugin/credentials/images/24x24/credentials.png`
> <https://company.internal.com/jenkins/static/e0c7cecc/plugin/credentials/images/24x24/credentials.png>
>  *Doesnt work*
> `
> http://host:8080/jenkins/static/e0c7cecc/plugin/credentials/images/24x24/credentials.png`
> <http://host:8080/jenkins/static/e0c7cecc/plugin/credentials/images/24x24/credentials.png>
>  Works
>
>
> https://imgur.com/iMnJygh
>
>
> https://imgur.com/vVCqGUG
>
> Any idea what's going wrong and how can I resolve these issues? Although
> these doesnt impact functionality I would like to fix them.
>
> *  What i did so far w.r.t debugging.*
> 1) Referenced this link
> https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy
> and made some modifications. Nothing worked.
> 2) Installed Simple Theme Plugin and could resolve jenkins logo issue in
> the inner pages ,but not in the login page.
>
>
> Thanks in advance.
> Vish
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/932e71df-edac-4cb4-bac4-617b921562d4o%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/932e71df-edac-4cb4-bac4-617b921562d4o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGsWkkhuRzXrSwSHfWvFRp6ybcF_Q4yDFhcAT%3DjtKAeZA%40mail.gmail.com.

Reply via email to