Skip to content

Created openproject.conf.sample #669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

HammyHavoc
Copy link

This is for https://www.openproject.org/

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description

Benefits of this PR and context

How Has This Been Tested?

Source / References

Copy link
Member

@drizuid drizuid left a comment

Choose a reason for hiding this comment

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

@nemchik can you confirm?

@@ -0,0 +1,22 @@
## Version 2024/04/13
# make sure that your OpenProject container is named OpenProject
Copy link
Member

Choose a reason for hiding this comment

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

I believe there are issues on some systems with upper case characters

location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app OpenProject;
Copy link
Member

Choose a reason for hiding this comment

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

I believe there are issues on some systems with upper case characters

@LinuxServer-CI
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@nemchik
Copy link
Member

nemchik commented May 25, 2024

@nemchik can you confirm?

Confirmed. Some systems force lowercase container name resolution.

set $upstream_port 8080;
set $upstream_proto https;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header X-Forwarded-Host $upstream_app:$upstream_port;
Copy link
Member

Choose a reason for hiding this comment

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

This seems wrong. We have X-Forwarded-Host set here
https://github.com/linuxserver/docker-swag/blob/41cb7cb10423ac9b2708a55b94e6901955199d49/root/defaults/nginx/proxy.conf.sample#L28
We intentionally use the $host variable as it provides information about the visiting client to the header, and thus to the application.

The values you are passing here would essentially be static, and not reflect anything about the client. Is there a documented requirement for this?

@LinuxServer-CI
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

This pull request is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants