Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

mod_pagespeed and OAuth

franco.andrao January 15, 2019

I'm configuring Jira Server but many pages have errors depending from the mod_pagespeed, for example:

VM4523:1 Uncaught ReferenceError: mod_pagespeed_1vPM4U2Hry is not defined

 

My installation is with a nginx proxy where is not configured any mod_pagespeed.

## nginx configuration

server {

  listen 443;

  server_name jira.gruppo4.it;

 

  ssl on;

  ssl_certificate     /root/.acme.sh/jira.gruppo4.it/fullchain.cer;

  ssl_certificate_key /root/.acme.sh/jira.gruppo4.it/jira.gruppo4.it.key;

 

  location / {

    proxy_pass http://192.168.10.3:8081;

    proxy_redirect off;

    proxy_set_header Host $http_host;

    proxy_set_header X-Forwarded-Host $host;

    proxy_set_header X-Forwarded-Server $host;

    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    client_max_body_size 10M;

  }

}

##  server.xml jira

        <Connector port="8081" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"

                   maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"

                   maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"

                   acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"

                   proxyName="jira.gruppo4.it" proxyPort="443"/>

 

        <Engine name="Catalina" defaultHost="localhost">

            <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

 

                <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">

                    <Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"

                              factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>

                    <Manager pathname=""/>

                    <JarScanner scanManifest="false"/>

                </Context>

 

            </Host>

            <Valve className="org.apache.catalina.valves.AccessLogValve"

                   pattern="%a %{jira.request.id}r %{jira.request.username}r %t &quot;%m %U%q %H&quot; %s %b %D &quot;%{Referer}i&quot; &quot;%{User-Agent}i&quot; &quot;%{jira.request.assession.id}r&quot;"/>

 

Moreover I have also a confluence server configured to use the jira directory for users. I'm trying to add the application link in both the platform for incoming and outgoing connection but the only authentication required is OAuth. Is it possible to configure without the OAuth?

 

Thank you 

Best regards

Franco

 

 

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2019

Jira itself doesn't use the mod_pagespeed module natively.  So this must be getting injected in your environment somehow.  While you can use nginx to run that module, it could also be loaded into Apache itself.  You seem pretty confident that your nginx isn't running this particular module.  If that is true, then I would be concerned to learn if there is perhaps another webserver/proxy in between Jira and the client machine you are using to access the site that might be injecting this module in somehow.

You follow the steps in How to bypass a Proxy and SSL to test network connectivity.  This gives you the steps need to setup Jira to bypass any proxy in place.  With this setup, you could test to connect to the Jira site on an internal address to see if perhaps you can recreate this problem just to prove that there is something else in the way here aside from Jira itself.

Suggest an answer

Log in or Sign up to answer