[Archivesspace_Users_Group] Proxying and AppConfig[:frontend_url]

Stephen Schor stephenschor at nypl.org
Wed May 4 12:30:00 EDT 2016


I'm looking to deploy ASpace using NGIX as a proxy to present the various
apps on port 80.
For example:

proxy port 8080 to archivesspace-staff.example.org     to port 80
proxy port 8081 to archivesspace-public.example.org  to port 80
proxy port 8089 to archivesspace-api.example.org       to port 80

I'm interested in what the consequences are of leaving the boilerplate
setup in config.rb would be?
It was this section that caught my attention:

## Proxy URLs
## If you are serving user-facing applications via proxy
## (i.e., another domain or port, or via https, or for a prefix) it is
## recommended that you record those URLs in your configuration
#AppConfig[:frontend_proxy_url] = proc { AppConfig[:frontend_url] }
#AppConfig[:public_proxy_url] = proc { AppConfig[:public_url] }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160504/9b14922f/attachment.html>

More information about the Archivesspace_Users_Group mailing list