How to host as Azure App Service with custom domain? #678
-
Hi,
Or is there a better way to deal with this issue? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Ping: As written above, I already found a solution to this problem. My request is for a code change so that yellow will use the server name from the yellow-system.ini instead of the one from the environment variable SERVER_NAME. |
Beta Was this translation helpful? Give feedback.
-
I am afraid to say that I am not familiar with Azure App Service. Datenstrom Yellow works both as content management system (CMS) and static site generator (SSG). Usually the URL of the website is automatically detected, but if this doesn't work you can always pin down the URL in your system settings:
See also https://github.com/annaesvensson/yellow-core#settings. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Last week someone mentioned problems with a web server behind a reverse proxy… and that might be related to this discussion. I think the underlying problem is that the server URL is not automatically detected, at least not in all cases. For example when the web server is behind a reverse proxy, load balancer or TLS termination. Maybe the source code could be improved for handling more scenarios, but at the moment we do not have access to a good test environment. The technical documentation and RFCs [1][2] are a bit thin when it comes to CGI variables like If someone runs into this problem in the future here's what you have to look for. During installation the installer shows the error message Anyone has experience with reverse proxies? Any thoughts? |
Beta Was this translation helpful? Give feedback.
I am afraid to say that I am not familiar with Azure App Service. Datenstrom Yellow works both as content management system (CMS) and static site generator (SSG). Usually the URL of the website is automatically detected, but if this doesn't work you can always pin down the URL in your system settings:
CoreServerUrl
= URL of the website, when used as a content management system (CMS).CommandStaticUrl
= URL of the website, when used as a static site generator (SSG).See also https://github.com/annaesvensson/yellow-core#settings.
Hope this helps.