I've tracked down some of the issues to the fact that I was using the IP
Address until I could migrate traffic to the server.
What I'm seeing now is that PM2 is writing the hostname as the IP Address.
I can't tell where that information is coming from.
*config/config.*.yml:*
rest:
ssl: true
host: {HOSTNAME}
port: 443
nameSpace: /server
*dist/browser/assets/config.json:*
"rest": {
"ssl": true,
"host": "{IP ADDRESS}",
"port": 80,
"nameSpace": "/server",
"baseUrl": "https:// {IP ADDRESS} /server"
On Monday, December 18, 2023 at 5:10:49 PM UTC-5 Andrew K wrote:
> Hi Steve,
>
> Here's the manual I followed to switch to SSL
> https://repozitar.fhv.uniza.sk/items/5b8d7e58-8e9c-4280-85d3-9d7c4b49b4d7
>
> I also noticed that you have nameSpace: /xmlui in the config files. I
> think it should be nameSpace: /
>
> Best regards,
> Andrew
> понеділок, 18 грудня 2023 р. о 23:57:02 UTC+2 Steve Michaels пише:
>
>> I've been having difficulty getting my instance of 7.6 to run on SSL.
>>
>> One of the things I've noticed is that the config.json file has the REST
>> interface running SSL on port 80:
>> {
>> "production": true,
>> "debug": true,
>> "ui": {
>> "ssl": false,
>> "host": "localhost",
>> "port": 4000,
>> "nameSpace": "/xmlui",
>> "rateLimiter": {
>> "windowMs": 60000,
>> "max": 500
>> },
>> "useProxies": true,
>> "baseUrl": "http://localhost:4000/xmlui"
>> },
>> "rest": {
>> "ssl": true,
>> "host": "10.101.150.11",
>> "port": 80,
>> "nameSpace": "/server",
>> "baseUrl": "https://10.101.150.11/server"
>> },
>> [--SNIP--]
>> when the config.*.yml clearly has:
>> ui:
>> ssl: false
>> host: localhost
>> port: 4000
>> nameSpace: /xmlui
>> # baseUrl": http://localhost:4000
>> rest:
>> ssl: true
>> host: 10.101.150.11
>> port: 443
>> nameSpace: /server
>> #baseUrl: https://10.101.150.11/server
>>
>> Does this make a difference and why is the compiled config.json file
>> wrong?
>>
>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/a6b82b2d-9420-43f1-9298-a0dcb0cd39c6n%40googlegroups.com.