[Archivesspace_Users_Group] HTTPS / reverse proxy problem

Hardy, Ian ihardy at email.gwu.edu
Fri Jul 8 14:57:21 EDT 2016


Hi,

I'm working on a reverse proxy with apache as described in the HTTPS read
me. I'm running into a problem where certain actions in ASpace will bump be
to an unencrypted connection (which I'm not listenting for). If I manually
change the http to an https things work. Anyone have a similar problem that
they were able to resolve?

For example:

when I go to view an item (accession in this case), the link will be to
something like this:
https://myaspace.gwu.edu/resolve/readonly?uri=%2Frepositories%2F2%2Faccessions%2F162

which resolves to:

*http*://myaspace.gwu.edu/accessions/162

Here is the relevant stanza from my apache config:

<VirtualHost *:443>
  ServerName myaspace.gwu.edu
  SSLEngine On
  SSLCertificateFile "/path/to/server.cer"
  SSLCertificateKeyFile "/path/to/server.key"
  ProxyPreserveHost On
  ProxyPass / http://myaspace.gwu.edu:8080/
  ProxyPassReverse / http://myaspace.gwu.edu:8080/
</VirtualHost>

I have the following line in Aspace's config.rb:

AppConfig[:frontend_proxy_url] = "https://myaspace.gwu.edu"


-- 
Ian Hardy
Systems Specialist
GW Libraries
ihardy at gwu.edu <ihardy at email.gwu.edu>
helpdesk: (202) 994-8278
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160708/729f516a/attachment.html>


More information about the Archivesspace_Users_Group mailing list