Page History
...
- Show the current value:
Code Block language bash grep PANAGENDA_CORS_ALLOWED_ORIGINS /opt/panagenda/appdata/gl/config
- Open the file in an editor, for example
nano /opt/panagenda/appdata/gl/config. Withvi: move to the line, pressito edit, and when you are done press Esc, type:wqand press Enter. - Change the line so that it lists every address users type in their browser, each with
https://and without a path, separated by commas without spaces (a space can keep GreenLight from starting):
Keep the server address in the list. If the line is missing, add it.Code Block language text PANAGENDA_CORS_ALLOWED_ORIGINS=https://greenlight.acme.com,https://monitoring.acme.com
- Save the file and apply the change; GreenLight is unavailable for a few minutes:
Code Block language bash gl recreate
- Open GreenLight under each address and save a change to check it.
From then on, the installer and gl hostname keep your value. If it does not contain the server address, they show a warning that names the address in your value. To let GreenLight manage the value again, set it back to https://localhost: and run gl hostname <server address>, then gl recreate; the next upgrade or the next change with gl hostname replaces would also replace it with the server address. While PANAGENDA_METABASE_SITE_URL is set, the installer and gl hostname do not touch the value at all.
...
