Skip to content

Conversation

@WimJongeneel
Copy link
Contributor

Needs R&D verification.
Not connected to a specific release

@OlufunkeMoronfolu
Copy link
Collaborator

@WimJongeneel
Please let me know when the technical verification is done and ready for tech writer's review.

Copy link
Contributor

@Robinfr Robinfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes requested

Comment on lines 26 to 34
location /my/sub/path/ {
# Make the Mendix runtime aware of https, see documentation below for more information.
proxy_set_header X-Forwarded-Proto "https";
# Required for Mendix DevTools to work.
proxy_http_version 1.1;
# Proxy the request to the Mendix runtime.
proxy_pass http://mendix-runtim:8080/;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in runtim


## Secure cookies for on-premise applications

The Mendix runtime sets cookies with the `secure` attribute when the application is served over `https` However, in a scenario where the Mendix runtime is served from behind a loadbalancer using `http` for the internal communication, the Mendix runtime needs to be made aware that it is served over `https` to the end-users. This can be done by setting the [ApplicationRootUrl](/refguide/custom-settings/#applicationrooturl-section) Runtime setting to a `https://` link, or by setting the `X-Forwarded-Proto` or `X-Forwarded-Schema` header to `https` in the loadbalancer.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing period after https.

# Location block for the subpath `/my/sub/path`.
location /my/sub/path/ {
# Make the Mendix runtime aware of https, see documentation below for more information.
proxy_set_header X-Forwarded-Proto "https";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the others also be added here for completeness?

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto "https";

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the other headers we use (not exactly those however)

@Robinfr
Copy link
Contributor

Robinfr commented Aug 15, 2025

@OlufunkeMoronfolu Can be taken over by technical writers.

Copy link
Collaborator

@OlufunkeMoronfolu OlufunkeMoronfolu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made presentation changes. Otherwise, good to go.
Merging now!

@OlufunkeMoronfolu OlufunkeMoronfolu merged commit 3f4a25e into mendix:development Aug 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants