-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Version 2024/04/13 | ||
# make sure that your OpenProject container is named OpenProject | ||
# make sure that your DNS has a record set for openproject | ||
|
||
server { | ||
listen 443 ssl; | ||
listen [::]:443 ssl; | ||
|
||
server_name openproject.*; | ||
include /config/nginx/ssl.conf; | ||
client_max_body_size 0; | ||
|
||
location / { | ||
include /config/nginx/proxy.conf; | ||
include /config/nginx/resolver.conf; | ||
set $upstream_app OpenProject; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe there are issues on some systems with upper case characters |
||
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; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems wrong. We have The values you are passing here would essentially be static, and not reflect anything about the client. Is there a documented requirement for this? |
||
} | ||
} |
There was a problem hiding this comment.
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