-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
nginx router based on template #13840
Conversation
Nice |
nginx supports include conf files, so it maybe better to split routes into individual conf files, one file per route. |
98b11b0
to
b36e12d
Compare
@openshift/networking Review please |
/assign @knobunc |
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.
/lgtm
Is there going to be a doc change PR for this?
# | ||
FROM openshift/origin | ||
|
||
RUN INSTALL_PKGS="nginx" && \ |
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.
@rajatchopra Just curious here. How do we specify which version of nginx is used?
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.
Not specify-able yet. This is the base image being built. And we will pick the standard install from openshift/origin image's configured repositories.
@rajatchopra How to start the nginx router ? Does it need other special options or same to haproxy router? e.g. just using |
images/router/nginx/reload-nginx
Outdated
|
||
config_file=/var/lib/nginx/conf/nginx.config | ||
if [ -f /var/lib/nginx/logs/nginx.pid ]; then | ||
/usr/sbin/nginx -c ${config_file} -s reload |
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.
indent ?
/test cmd |
@lihongan
|
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.
LGTM. Thanks Rajat!
We just need to make it clear that this is not going to be supported in Enterprise (at least for a while).
/lgtm |
/assign @smarterclayton |
@eparis Removed the default pub keys file (was initially meant to provide a default cert for tls connections). |
add nginx to build local images script
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eparis, knobunc, pecameron, rajatchopra The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
No it's fine to add it. Did you add the push rules to hack/push-images?
…On Thu, Sep 21, 2017 at 3:36 PM, OpenShift Merge Robot < ***@***.***> wrote:
Merged #13840 <#13840>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13840 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p350CmxOxai1hVchs3enlGRsSoWkks5skrqggaJpZM4NDUwo>
.
|
template based nginx router implementation
/cc @jawnsy